From: Ciara Power Date: Tue, 18 May 2021 14:19:55 +0000 (+0000) Subject: test/crypto: fix result when PMD is not loaded X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e287fc3a96ca754f95897b5925b96eed09048068;p=dpdk.git test/crypto: fix result when PMD is not loaded The return value for a test when the required PMD is not loaded should be TEST_SKIPPED, rather than TEST_FAILED. Fixes: 8bfdd8a7f0f1 ("test/crypto: refactor to use sub test suites") Signed-off-by: Ciara Power Acked-by: Fan Zhang --- diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 736952a9e6..c68684b80b 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -14504,7 +14504,7 @@ run_cryptodev_testsuite(const char *pmd_name) if (gbl_driver_id == -1) { RTE_LOG(ERR, USER1, "%s PMD must be loaded.\n", pmd_name); - return TEST_FAILED; + return TEST_SKIPPED; } ts.unit_test_suites = malloc(sizeof(struct unit_test_suite *) *