DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v3] fix return value for skipped tests
@ 2019-04-24 19:28 Ayuj Verma
  2019-04-24 19:28 ` Ayuj Verma
  2019-04-24 19:28 ` [dpdk-dev] [PATCH v3] app/test: replace TEST_SKIPPED with -ENOTSUP Ayuj Verma
  0 siblings, 2 replies; 12+ messages in thread
From: Ayuj Verma @ 2019-04-24 19:28 UTC (permalink / raw)
  To: akhil.goyal, arkadiuszx.kusztal, fiona.trahe
  Cc: shallyv, ssahu, kkotamarthy, adesai, dev, Ayuj Verma

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 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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-05-09 11:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24 19:28 [dpdk-dev] [PATCH v3] fix return value for skipped tests Ayuj Verma
2019-04-24 19:28 ` Ayuj Verma
2019-04-24 19:28 ` [dpdk-dev] [PATCH v3] app/test: replace TEST_SKIPPED with -ENOTSUP Ayuj Verma
2019-04-24 19:28   ` Ayuj Verma
2019-04-25 10:26   ` Trahe, Fiona
2019-04-25 10:26     ` Trahe, Fiona
2019-05-04 20:54   ` Thomas Monjalon
2019-05-04 20:54     ` Thomas Monjalon
2019-05-09  8:53     ` Akhil Goyal
2019-05-09  8:53       ` Akhil Goyal
2019-05-09 11:24       ` Ayuj Verma
2019-05-09 11:24         ` Ayuj Verma

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).