[dpdk-dev] [PATCH v4] fix return value for skipped tests

Ayuj Verma ayverma at marvell.com
Thu May 9 13:23:20 CEST 2019


Currently some tests return TEST_SKIPPED/-1 when tests or params
are not supported for particular PMD because of which tests adds to
FAILED test counter in place of Skipped/Unsupported counter.

Since unsupported test is not a failure case,
replace return value TEST_SKIPPED/-1 with -ENOTSUP

Changes in v4:
	- add reason for change as part of commit message log

Changes in v3:
        - retain '-1' for app error.
        - add NULL check for rte_cryptodev_asym_capability_get()
        - Typo correction

Changes in v2:
        - Replace TEST_SKIPPED/-1 with -ENOTSUP

Ayuj Verma (1):
  app/test: replace TEST_SKIPPED with -ENOTSUP

 app/test/test_cryptodev_asym.c | 45 ++++++++++++++++++++++++++++++------------
 1 file changed, 32 insertions(+), 13 deletions(-)

-- 
1.8.3.1



More information about the dev mailing list