* [PATCH] test/crypto: skip test when virtio PMD not loaded
@ 2025-03-11 12:47 Gowrishankar Muthukrishnan
0 siblings, 0 replies; only message in thread
From: Gowrishankar Muthukrishnan @ 2025-03-11 12:47 UTC (permalink / raw)
To: dev, Akhil Goyal, Fan Zhang; +Cc: anoobj, Gowrishankar Muthukrishnan
Skip asymmetric test when virtio PMD is not loaded.
Fixes: 7e2e9d5f3227 ("test/crypto: add asymmetric cases for virtio")
Fixes: a8f3d4f5b547 ("test/crypto: add cases for virtio-user")
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
app/test/test_cryptodev_asym.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c
index a98e3dc824..2377a18c72 100644
--- a/app/test/test_cryptodev_asym.c
+++ b/app/test/test_cryptodev_asym.c
@@ -4111,7 +4111,7 @@ test_cryptodev_virtio_asym(void)
RTE_STR(CRYPTODEV_NAME_VIRTIO_PMD));
if (gbl_driver_id == -1) {
RTE_LOG(ERR, USER1, "virtio PMD must be loaded.\n");
- return TEST_FAILED;
+ return TEST_SKIPPED;
}
/* Use test suite registered for crypto_virtio PMD */
@@ -4125,7 +4125,7 @@ test_cryptodev_virtio_user_asym(void)
RTE_STR(CRYPTODEV_NAME_VIRTIO_USER_PMD));
if (gbl_driver_id == -1) {
RTE_LOG(ERR, USER1, "virtio user PMD must be loaded.\n");
- return TEST_FAILED;
+ return TEST_SKIPPED;
}
/* Use test suite registered for crypto_virtio_user PMD */
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-11 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-11 12:47 [PATCH] test/crypto: skip test when virtio PMD not loaded Gowrishankar Muthukrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).