[v1] app/test: add check for tests skipped

Message ID 1554103916-31459-2-git-send-email-ayverma@marvell.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series [v1] app/test: add check for tests skipped |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/intel-Performance-Testing success Performance Testing PASS
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/Intel-compilation success Compilation OK

Commit Message

Ayuj Verma April 1, 2019, 7:31 a.m. UTC
  Add skipped counter to count for number of skipped testcases.

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

Comments

Ayuj Verma April 3, 2019, 10 a.m. UTC | #1
Hi Akhil,


Did you get chance to look into this.


Thanks and regards

Ayuj Verma
  
Ayuj Verma April 3, 2019, 10:09 a.m. UTC | #2
+ Fiona and Pablo


Hi Akhil, Arek, Fiona and Pablo


Did you get a chance to look into this.


Thanks and regards

Ayuj Verma
  
Fiona Trahe April 3, 2019, 2:08 p.m. UTC | #3
Hi Ayuj,
  

Patch

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