From patchwork Wed Dec 6 08:00:06 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: 120794 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6754619qgn; Wed, 6 Dec 2017 00:03:24 -0800 (PST) X-Google-Smtp-Source: AGs4zMZamKdyJQGk0IjzxaAoK17nJo22pOcWEcu2fW3YwOR6ZqMkz60APMrO2q013I51Z2bt0RaN X-Received: by 10.200.43.24 with SMTP id 24mr3431570qtu.153.1512547404464; Wed, 06 Dec 2017 00:03:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512547404; cv=none; d=google.com; s=arc-20160816; b=xKgF3laANon4jTKYsyWUIZESSwi37MiiXAgrLc2W7z95iNr5hgJluAX7vifYCd4KcX ZKTgEcgkdKIxgCeqGZ6ZcufKY+cESSIYPfF7ST6OWdObr2Ax7vjpR4TBPFEaHd+Low6G aH5C45zkXWBoYyuyASMhsiG/K+zfBGSaKTIx3TVyHNKN8wTNH6lgU4B7y8LMLlxxF+Yb ATri193et7Oj4+AaDP4PmxD3StZLVOLBPyp3Y3bqr9idqZOyFxRXwOzi1Xt0ARIFj42x YMktoSgcG0aXjmL3u+cUxvRhQWexboW0ZSjET/70uVW/gv/2JLI2GrThsrZlrKE4HuJe Faeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=VF/AB6xopaFT+EucvPD40msaZbRMjqv5HcIm04j3VXg=; b=i76VF2KgsBqY4/kx7+/bZpJUrygGrbLAZDIO0mtY62fpznCrDzn0LGxrSW35TrBFM3 /erMQMy3K/uifTgyVCRqsKPYDOjATATb0Wb0sy1UaPGZIJJNf34xcvYtrARnNuYoiEXc NZ/Vxz0gDxxvCbAgHjj2znnxj4Ys3MVsPTZyUKcIwcZUBjur/1vyOZM1qPogc4kecx7w 3ZxqI+tEEX0VnoAHSy0sGQoTHZfMyVp7w8upWBFEEG0juXdcc3SgUmucO3yw5/VkfoGg jFM5yLhvf9mRvQLT0mzlpcWatsEo8bFZ33XnoR4OrOlOZoPm53PcUoeNAvSKExnDV6qe Bwjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id s12si708313qke.463.2017.12.06.00.03.24; Wed, 06 Dec 2017 00:03:24 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 27ACF60943; Wed, 6 Dec 2017 08:03:24 +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=-5.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 72EEC6091E; Wed, 6 Dec 2017 08:00:58 +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 1F783607FB; Wed, 6 Dec 2017 08:00:34 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 1ABC66091B for ; Wed, 6 Dec 2017 08:00:14 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 5DC3B1844EA for ; Wed, 6 Dec 2017 11:00:12 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id dxasxXTaeh-0CDGaj0E; Wed, 06 Dec 2017 11:00:12 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4V0UNXlOkv-0B6uLdeS; Wed, 06 Dec 2017 11:00:11 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 6 Dec 2017 11:00:06 +0300 Message-Id: <1512547207-1806-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512547207-1806-1-git-send-email-odpbot@yandex.ru> References: <1512547207-1806-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 323 Subject: [lng-odp] [PATCH 2.0 v1 4/5] linux-dpdk: fix platform tests 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: Yi He Fixed search path in pktio_run.sh for pktio_main executable, and Makefile.am to run platform tests with wrapper script. Signed-off-by: Yi He Reviewed-by: Honnappa Nagarahalli --- /** Email created from pull request 323 (heyi-linaro:2.0-linux-dpdk-make-check) ** https://github.com/Linaro/odp/pull/323 ** Patch: https://github.com/Linaro/odp/pull/323.patch ** Base sha: 00c7441fae53949dd87855d48102f932f8f64537 ** Merge commit sha: 97e968c4c23266a903016fe9bda392687b44b08f **/ platform/linux-dpdk/test/Makefile.am | 2 -- platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/linux-dpdk/test/Makefile.am b/platform/linux-dpdk/test/Makefile.am index a872400e4..8cb27b14f 100644 --- a/platform/linux-dpdk/test/Makefile.am +++ b/platform/linux-dpdk/test/Makefile.am @@ -14,8 +14,6 @@ SUBDIRS += validation/api/pktio endif endif -TEST_EXTENSIONS = .sh - TESTNAME = linux-dpdk TESTENV = tests-$(TESTNAME).env diff --git a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh index 538c87d00..a08256a6b 100755 --- a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh +++ b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh @@ -23,7 +23,7 @@ # running stand alone out of tree requires setting PATH PATH=${TEST_DIR}/api/pktio:$PATH PATH=$(dirname $0):$PATH -PATH=$(dirname $0)/../../../../common_plat/validation/api/pktio:$PATH +PATH=$(dirname $0)/../../../../../../test/validation/api/pktio:$PATH PATH=.:$PATH pktio_main_path=$(which pktio_main${EXEEXT})