From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 808434C8F for ; Mon, 1 Apr 2019 09:33:13 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x317UK1o023189; Mon, 1 Apr 2019 00:33:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=pjM9YVSvmn11WrpfZb6bcbSLhRnTFoCJTl23MmBw5DQ=; b=vD/v9H4G3vQSAZVe9gZldYbzD88R7c5xuO0N4aq6Mryws8mx2p438cybDGhu7sNCaSia 97GSzZJiHGOLM/FFIZ/aZJQq9GxT0bbFbQydC7sxzbsEdkT1tN3bFzIlfL73dWndQnKF 8pSNN7bmolMOlC4vFJzhAzqXCYPMwZC/LoBeBL8cA83kJZCqBkSjW2PjOa3Au3BHAM/Z 22H2cbbgBViElDXeSQQLDYdYIKxhxG3LEbRprkQSV+pngz1zv7s64vKinrE3J7bBCLS2 6Oo95kay1+DsmNzL2SX4vWflWe5zqBiS6WR7am3AwepOdguwjtJObxGce2Eahv0mzC3u TQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2rj5tr4ty6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2019 00:33:12 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 1 Apr 2019 00:33:06 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 1 Apr 2019 00:33:06 -0700 Received: from localhost.marvell.com (unknown [10.28.10.76]) by maili.marvell.com (Postfix) with ESMTP id A5A303F70C6; Mon, 1 Apr 2019 00:32:03 -0700 (PDT) From: Ayuj Verma To: CC: , , , , , , Ayuj Verma Date: Mon, 1 Apr 2019 13:01:56 +0530 Message-ID: <1554103916-31459-2-git-send-email-ayverma@marvell.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1554103916-31459-1-git-send-email-ayverma@marvell.com> References: <1554103916-31459-1-git-send-email-ayverma@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_04:, , signatures=0 Subject: [dpdk-dev] [PATCH v1] app/test: add check for tests skipped X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2019 07:33:13 -0000 Add skipped counter to count for number of skipped testcases. Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 926FFA068B for ; Mon, 1 Apr 2019 09:33:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 66DED4C96; Mon, 1 Apr 2019 09:33:15 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 808434C8F for ; Mon, 1 Apr 2019 09:33:13 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x317UK1o023189; Mon, 1 Apr 2019 00:33:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=pjM9YVSvmn11WrpfZb6bcbSLhRnTFoCJTl23MmBw5DQ=; b=vD/v9H4G3vQSAZVe9gZldYbzD88R7c5xuO0N4aq6Mryws8mx2p438cybDGhu7sNCaSia 97GSzZJiHGOLM/FFIZ/aZJQq9GxT0bbFbQydC7sxzbsEdkT1tN3bFzIlfL73dWndQnKF 8pSNN7bmolMOlC4vFJzhAzqXCYPMwZC/LoBeBL8cA83kJZCqBkSjW2PjOa3Au3BHAM/Z 22H2cbbgBViElDXeSQQLDYdYIKxhxG3LEbRprkQSV+pngz1zv7s64vKinrE3J7bBCLS2 6Oo95kay1+DsmNzL2SX4vWflWe5zqBiS6WR7am3AwepOdguwjtJObxGce2Eahv0mzC3u TQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2rj5tr4ty6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2019 00:33:12 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 1 Apr 2019 00:33:06 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 1 Apr 2019 00:33:06 -0700 Received: from localhost.marvell.com (unknown [10.28.10.76]) by maili.marvell.com (Postfix) with ESMTP id A5A303F70C6; Mon, 1 Apr 2019 00:32:03 -0700 (PDT) From: Ayuj Verma To: CC: , , , , , , Ayuj Verma Date: Mon, 1 Apr 2019 13:01:56 +0530 Message-ID: <1554103916-31459-2-git-send-email-ayverma@marvell.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1554103916-31459-1-git-send-email-ayverma@marvell.com> References: <1554103916-31459-1-git-send-email-ayverma@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_04:, , signatures=0 Subject: [dpdk-dev] [PATCH v1] app/test: add check for tests skipped X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190401073156.PLUquW1wgfpjVEy2dNC6zYoJhaG-Vq2gkb0PJneXjjU@z> Add skipped counter to count for number of skipped testcases. Signed-off-by: Ayuj Verma Signed-off-by: Shally Verma --- 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