From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
To: <dev@dpdk.org>, Akhil Goyal <gakhil@marvell.com>,
Fan Zhang <fanzhang.oss@gmail.com>
Cc: <anoobj@marvell.com>,
Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Subject: [PATCH] test/crypto: skip test when virtio PMD not loaded
Date: Tue, 11 Mar 2025 18:17:45 +0530 [thread overview]
Message-ID: <20250311124749.1219-1-gmuthukrishn@marvell.com> (raw)
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
reply other threads:[~2025-03-11 13:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250311124749.1219-1-gmuthukrishn@marvell.com \
--to=gmuthukrishn@marvell.com \
--cc=anoobj@marvell.com \
--cc=dev@dpdk.org \
--cc=fanzhang.oss@gmail.com \
--cc=gakhil@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).