From patchwork Wed Apr 26 09:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 98235 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp222202qgf; Wed, 26 Apr 2017 02:01:11 -0700 (PDT) X-Received: by 10.107.40.81 with SMTP id o78mr21659191ioo.192.1493197271765; Wed, 26 Apr 2017 02:01:11 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w189si2856630iod.134.2017.04.26.02.01.11; Wed, 26 Apr 2017 02:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 4D26861C89; Wed, 26 Apr 2017 09:01:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 662B16096A; Wed, 26 Apr 2017 09:01:02 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id BB97B60732; Wed, 26 Apr 2017 09:00:59 +0000 (UTC) Received: from forward5p.cmail.yandex.net (forward5p.cmail.yandex.net [77.88.31.20]) by lists.linaro.org (Postfix) with ESMTPS id BDCE36050F for ; Wed, 26 Apr 2017 09:00:32 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::116]) by forward5p.cmail.yandex.net (Yandex) with ESMTP id 31E6020BCF for ; Wed, 26 Apr 2017 12:00:31 +0300 (MSK) Received: from smtp2h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 0A4C87821B4 for ; Wed, 26 Apr 2017 12:00:17 +0300 (MSK) Received: by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kfamxh8axf-0FDeC8OR; Wed, 26 Apr 2017 12:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 26 Apr 2017 12:00:07 +0300 Message-Id: <1493197207-3551-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493197207-3551-1-git-send-email-odpbot@yandex.ru> References: <1493197207-3551-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 17 Subject: [lng-odp] [PATCH 2/2] test: pktio_run: exit if binary was not found X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov No need to continue run if binary was not found in paths. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 17 (muvarov:master_bug2969) ** https://github.com/Linaro/odp/pull/17 ** Patch: https://github.com/Linaro/odp/pull/17.patch ** Base sha: 9b993a1531c94782b48292adff54a95de9d2be5c ** Merge commit sha: 597d9211c21adde3887c416ede815431ee0a175c **/ test/linux-generic/validation/api/pktio/pktio_run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/linux-generic/validation/api/pktio/pktio_run.sh b/test/linux-generic/validation/api/pktio/pktio_run.sh index e8b0f93..19def8c 100755 --- a/test/linux-generic/validation/api/pktio/pktio_run.sh +++ b/test/linux-generic/validation/api/pktio/pktio_run.sh @@ -31,6 +31,7 @@ if [ -x "$pktio_main_path" ] ; then echo "running with pktio_main: $pktio_run_path" else echo "cannot find pktio_main: please set you PATH for it." + exit 1 fi # directory where platform test sources are, including scripts