From patchwork Thu Nov 16 15: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: 119048 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5693381qgn; Thu, 16 Nov 2017 07:03:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMbirAC0tV/JgT5mS5DOXOb9YLMDT56qek2MRojdkbjgNi+8m9My8plwNQ13DVgMrCuiTnCF X-Received: by 10.13.248.130 with SMTP id i124mr1087478ywf.206.1510844603044; Thu, 16 Nov 2017 07:03:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510844603; cv=none; d=google.com; s=arc-20160816; b=zyfAga/Y0Vc9kKiYMzAw6zxnxJ4HEURmAZLcUCmkTwO7su8FcLsjAdUDd20u27JEXM gUM/xKQVKey91OqYjyvOxt2ClgXatpXt0iSlH/lr2wwOu6FrfyCedSCsAJP088ssDPSO V8+Kb1rA23QU28WppALYkkb/QmC++rCyhhvlg7U3ROsdP5qqisVw2c7RB+le0GNeLIdi ByA4iPfbrlhhAkEpsB6LPJfzx4ucCXlet/PEwJY41AiiBzx/aIoZ2HIMP5x3AESpNhvc qDznDnRzDCM4BkZLuo1NqYVbY7q6hDBj+o+D3yHs2pF3zsmzjeyQCPyxD1DcTJHJautZ wPsg== 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=zlOiHbijGbx0v0xoebmgYXzkr4qxx2zVXeu9AB2l760=; b=Pw3Rvze/9ySeS4i7l4LzeG0q6+N+scP4tpYfI1UzcmbZlxXPnU9zBInvNzwpFrBsDc GyGoz0TpFT0rRHzoq+lMaQMb2Vw8CysEDrTRT7Rm/oemPxGEN6DzC9I6NrRp1Dei2ZI4 g9MxJz1c/+BlQ6ueZKAreE4Fh64xrNty8Mc1FXuBfbn9mziCevOfMWHobdkkXbl7QY7Z C5ztCUXGbewPbcChj4iRjbfG4B1XLUDT9P3fb27tI0VXc+lvtak/46TdfdVNKKKC5vN8 /U5bmmBjfUPC8F7y8tGx0EKWb5ezTvPEUIzCP8ll3jDMdUTzAKLWiC8Bvcdjm9DYsKV8 7OVA== 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 h129si257147ywd.794.2017.11.16.07.03.22; Thu, 16 Nov 2017 07:03:23 -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 931256074A; Thu, 16 Nov 2017 15:03:22 +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,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 674AB607B3; Thu, 16 Nov 2017 15:00:41 +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 38D786074C; Thu, 16 Nov 2017 15:00:20 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id A77FD6073F for ; Thu, 16 Nov 2017 15:00:10 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 4B9B11242330 for ; Thu, 16 Nov 2017 18:00:09 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id UUykTy9hS0-09pilf0w; Thu, 16 Nov 2017 18:00:09 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id XKdO5Hwhca-083GBnaG; Thu, 16 Nov 2017 18:00:08 +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: Thu, 16 Nov 2017 18:00:06 +0300 Message-Id: <1510844406-21859-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510844406-21859-1-git-send-email-odpbot@yandex.ru> References: <1510844406-21859-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 299 Subject: [lng-odp] [PATCH 2.0 v1 1/1] test: enable dpdk initialization before running validation on linux-dpdk 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: Balakrishna Garapati Signed-off-by: Balakrishna Garapati --- /** Email created from pull request 299 (GBalakrishna:enable_linux-dpdk_travis) ** https://github.com/Linaro/odp/pull/299 ** Patch: https://github.com/Linaro/odp/pull/299.patch ** Base sha: 6cd43041e55bd73a02ca202f835e590b3ad5c354 ** Merge commit sha: afcd4fb3a74386fbfbf7d6ac6d535e0120bf044d **/ platform/linux-generic/test/wrapper-script.sh | 3 +++ test/Makefile.inc | 2 ++ test/performance/Makefile.am | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 platform/linux-generic/test/wrapper-script.sh diff --git a/platform/linux-generic/test/wrapper-script.sh b/platform/linux-generic/test/wrapper-script.sh new file mode 100755 index 000000000..977a032ae --- /dev/null +++ b/platform/linux-generic/test/wrapper-script.sh @@ -0,0 +1,3 @@ +#wrapper script for pre setting environment for validation suit. +#currently this is empty but needs to be created to make it align with +#linux-dpdk. diff --git a/test/Makefile.inc b/test/Makefile.inc index eaf791e08..3e7dfe57f 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -20,6 +20,8 @@ AM_CFLAGS = $(CUNIT_CFLAGS) AM_LDFLAGS = -L$(LIB) -static +LOG_COMPILER = $(top_srcdir)/platform/@with_platform@/test/wrapper-script.sh + @VALGRIND_CHECK_RULES@ TESTS_ENVIRONMENT = ODP_PLATFORM=${with_platform} \ diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 1dccd82e1..4417c4843 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -31,6 +31,6 @@ odp_sched_latency_SOURCES = odp_sched_latency.c odp_scheduling_SOURCES = odp_scheduling.c odp_pktio_perf_SOURCES = odp_pktio_perf.c -dist_check_SCRIPTS = $(TESTSCRIPTS) +dist_check_SCRIPTS = $(TESTSCRIPTS) $(LOG_COMPILER) dist_check_DATA = udp64.pcap