[dpdk-dev] [PATCH v1] app/test: add check for tests skipped

Ayuj Verma ayverma at marvell.com
Wed Apr 3 12:09:21 CEST 2019


+ Fiona and Pablo


Hi Akhil, Arek, Fiona and Pablo


Did you get a chance to look into this.


Thanks and regards

Ayuj Verma


________________________________
From: Ayuj Verma <ayverma at marvell.com>
Sent: 01 April 2019 13:01:56
To: akhil.goyal at nxp.com
Cc: arkadiuszx.kusztal at intel.com; Shally Verma; Sunila Sahu; Kanaka Durga Kotamarthy; Arvind Desai; dev at dpdk.org; Ayuj Verma
Subject: [PATCH v1] app/test: add check for tests skipped

Add skipped counter to count for number of skipped testcases.

Signed-off-by: Ayuj Verma <ayverma at marvell.com>
Signed-off-by: Shally Verma <shallyv at marvell.com>
---
 app/test/test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/test/test.c b/app/test/test.c
index d646f51..1e0113b 100644
--- a/app/test/test.c
+++ b/app/test/test.c
@@ -237,6 +237,8 @@
                                 succeeded++;
                         else if (test_success == -ENOTSUP)
                                 unsupported++;
+                       else if (test_success == TEST_SKIPPED)
+                               skipped++;
                         else
                                 failed++;
                 } else if (test_success == -ENOTSUP) {
--
1.8.3.1



More information about the dev mailing list