From patchwork Wed Dec 6 08:00:03 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: 120793 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6753037qgn; Wed, 6 Dec 2017 00:01:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ3FjICMh5bDKXQYmurnR2G9u7XvO8U6yKGssXKyN157nP8sGRFGlvYUhZ5ws9rUIXSKIaw X-Received: by 10.200.47.105 with SMTP id k38mr3354764qta.195.1512547304624; Wed, 06 Dec 2017 00:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512547304; cv=none; d=google.com; s=arc-20160816; b=gfp6AY+4LgWsuBjFdxw2xVK9Cb58h5eaGq+GRLIITCnL1bVb2QlpW2I3Dk1vGDRccZ 6sqveshcvYO+jiEyzr06Sa4vmrzIjhyKhQUolzl17e6mZNlL1ZWKPdH0q9j9XDBr1513 hxxg4M/9SDQuv1yoVfTIQHyI86pNfvHzmuqn9CMzlkG+wjdBvpYBbmHk2rwLW+7tiXSD ejy82efJpx4vSpcMZMpAoqJ/kr+m+/DxrUSEaEjhgu41EbHCpgJwb3+otEZavQp+0HqO GfmD1qGB8Gjezi6joLewJI8QUXbSYAgBjSGnQFvWrhfnIspSuEchicc855KTYhb2FnRp 2+xQ== 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=OinjEaEUrfHKY/Wc4XJvMzYFucJSOm3bm804ruWkjTs=; b=yXgFGgKOMq1yXI61SOcpMgjhUXt6srJwOOsTIf25XB9mp5l0Fy2uDlIhOQjmM2/qrs HacyNw+c6zr/GTyUXnVaTECQQUAQdxlY7ZcxNBXtGaFETJMo81HvyEfgIDvSMiAyQqMj ai5YjuFLkOE6BrBbBsjfJ+FNc4C4Ivg9wv1Va2StgYBriXhjx67uxYgxc6aUo639oyKO ycU/GhuuhoD7P4znDyQHw3x4cbLaSHBg54VVPTYp8DMh15cH0Fu9aR7CePw3BFbDNCCB /O8EiNeHXvXGjBk3Oec1FEGpBQZT5rpuNpHw4R8r2yJka/zIL8inSgctsVyGBAuh0oQ5 uYBg== 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 i193si747218qke.20.2017.12.06.00.01.44; Wed, 06 Dec 2017 00:01:44 -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 6014F608FD; Wed, 6 Dec 2017 08:01:44 +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 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 80A36607FB; Wed, 6 Dec 2017 08:00:35 +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 DB6DA60903; Wed, 6 Dec 2017 08:00:27 +0000 (UTC) Received: from forward106j.mail.yandex.net (forward106j.mail.yandex.net [5.45.198.249]) by lists.linaro.org (Postfix) with ESMTPS id E0EAA608E0 for ; Wed, 6 Dec 2017 08:00:10 +0000 (UTC) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward106j.mail.yandex.net (Yandex) with ESMTP id 437BE180289C for ; Wed, 6 Dec 2017 11:00:09 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id DzyVc2YU7N-097unqkC; Wed, 06 Dec 2017 11:00:09 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 4V0UNXlOkv-086Cvufx; Wed, 06 Dec 2017 11: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: Wed, 6 Dec 2017 11:00:03 +0300 Message-Id: <1512547207-1806-2-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 1/5] 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 Reviewed-by: Yi He --- /** 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-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