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 5DBB8A0096 for ; Thu, 9 May 2019 13:23:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EB8E549E0; Thu, 9 May 2019 13:23:28 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 97C5349E0 for ; Thu, 9 May 2019 13:23:27 +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 x49BF1j6006013; Thu, 9 May 2019 04:23:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=Kr+4jEJiu6O0J63S6prqQ/i1ol9aOuC0K1Xo4bKR/Tk=; b=Xb4YOtYm6KNy8Qw8wzSQlLfU3gmJ01sqV/HnaYmuvaT6vRZ2lWF6/4q3wtRDrTZHjyJV 028OFw6kZEJSMiJyAuGP2lmta8ojgBKL6Tfo/hZ2RLEvxSUNGwiQB/d5qL5mBUd0MEIz Xqik66WfstWRwhRJQYvpG1i+wi6QHML7E0mWgk+5T+FjrqAMzydgL0YuKsaCYE/92OCs kUtFazBEv93/H1X0HltRGC179n3g/G1DRt5haRx/0VNWakraBflJwTxbo0rlw6Wmo6GN AIntWw5GiSOmTMXRIFs1yJQ1YEWpyRXyxBxkT3mCWbMaXJHEX1ZTORSJNrpwdx3PrLwA ig== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2sccp5hr7g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 09 May 2019 04:23:26 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 9 May 2019 04:23:25 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Thu, 9 May 2019 04:23:26 -0700 Received: from localhost.marvell.com (unknown [10.28.10.76]) by maili.marvell.com (Postfix) with ESMTP id AC6743F7041; Thu, 9 May 2019 04:23:23 -0700 (PDT) From: Ayuj Verma To: , , CC: , , , , , Ayuj Verma Date: Thu, 9 May 2019 16:53:20 +0530 Message-ID: <1557401001-27203-1-git-send-email-ayverma@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-09_02:, , signatures=0 Subject: [dpdk-dev] [PATCH v4] fix return value for skipped tests 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: <20190509112320.CBBLyn9tyvI9bj45KLXVpRWmEaHcc0zeardFVZP-75E@z> 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 v4: - add reason for change as part of commit message log 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