DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ayuj Verma <ayverma@marvell.com>
To: <akhil.goyal@nxp.com>
Cc: <arkadiuszx.kusztal@intel.com>, <shallyv@marvell.com>,
	<ssahu@marvell.com>, <kkotamarthy@marvell.com>,
	<adesai@marvell.com>, <dev@dpdk.org>,
	Ayuj Verma <ayverma@marvell.com>
Subject: [dpdk-dev] [PATCH v1] app/test: add check for tests skipped
Date: Mon, 1 Apr 2019 13:01:56 +0530	[thread overview]
Message-ID: <1554103916-31459-2-git-send-email-ayverma@marvell.com> (raw)
Message-ID: <20190401073156.PLUquW1wgfpjVEy2dNC6zYoJhaG-Vq2gkb0PJneXjjU@z> (raw)
In-Reply-To: <1554103916-31459-1-git-send-email-ayverma@marvell.com>

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(+)

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


  parent reply	other threads:[~2019-04-01  7:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-01  7:31 [dpdk-dev] [PATCH v1] Add check for skipped tests Ayuj Verma
2019-04-01  7:31 ` Ayuj Verma
2019-04-01  7:31 ` Ayuj Verma [this message]
2019-04-01  7:31   ` [dpdk-dev] [PATCH v1] app/test: add check for tests skipped Ayuj Verma
2019-04-03 10:00   ` Ayuj Verma
2019-04-03 10:00     ` Ayuj Verma
2019-04-03 10:09   ` Ayuj Verma
2019-04-03 10:09     ` Ayuj Verma
2019-04-03 14:08     ` Trahe, Fiona
2019-04-03 14:08       ` Trahe, Fiona

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1554103916-31459-2-git-send-email-ayverma@marvell.com \
    --to=ayverma@marvell.com \
    --cc=adesai@marvell.com \
    --cc=akhil.goyal@nxp.com \
    --cc=arkadiuszx.kusztal@intel.com \
    --cc=dev@dpdk.org \
    --cc=kkotamarthy@marvell.com \
    --cc=shallyv@marvell.com \
    --cc=ssahu@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).