From patchwork Fri Dec 1 00:00:05 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: 120283 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp453735qgn; Thu, 30 Nov 2017 16:00:22 -0800 (PST) X-Google-Smtp-Source: AGs4zMaIZXCoFyiH+9dc3s47nAmTyDOuFiR4+cQp9qa0MkG99G2318jTYC4VFTf4R4qMogKIxbqk X-Received: by 10.237.63.33 with SMTP id p30mr6240810qtf.321.1512086422848; Thu, 30 Nov 2017 16:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512086422; cv=none; d=google.com; s=arc-20160816; b=wXmZbayHoQGC3CMCKqABcutFznu8SWKk0PSRyCpPt7hYmvoBqkUZWqHtnHZv403tPA LjZuYnS8dNo7tvSNIOGpR0xhjSymOPkRAMf5X4WeZ2BnCK9XBY8HWhrKqTmBMKJtrYQZ r2KFYEoOkc2GRPOxZlDjn/AMVFrcIU5vnH6y9JBzwpCl5Irdb/SwSUlpPjZTEcuT93qK U3xo5mWO003MlIENHjqnn01K++01NLpnDwNHLSGA9jWtD7qEgjKcCRaaUj6lpXq9AG0B CoWoG68kU+GCHQKshi/vhLQ7B8lI8w2/EpzZxLmA4C7IHgXXJIq6TJ3dRcOhr9fvry+7 wxMQ== 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=jDz2k/uAn6hKeeOjUGrILQv7JpmimIne1ObsBvJVy2o=; b=WlJzBEb4kyoTcdXYV0AmoIz1W5mq5JPqbFcToUL3w4FRWgDYFXUKwvA4SnCwu8E3UI jtSDYERn18E3vM054Kw81Q9HO5dbDnY453ID35iAGAOnM1+Yo5ZffMb41gi4s3+qimOa eoznD5KvQHOwOJxhDEBkvuOrTjJeZ+oJNZeRvV+Zq1299uj9BVw9QZCD++Jsz/GmfmZj bVrVPt4IQrG2HaGobFyaGsB+yItyT3FiTnXoVWIDflSpJ3VzAcPKk94CYQgQjk8c33mz cGxXTJGnVQtwfcpPERG1qjwQYr/NlGzTOIifRXNNxDJq2c7OeJkkX1xPSX6uZqPyAeTo aMFg== 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 z27si1777849qkg.6.2017.11.30.16.00.22; Thu, 30 Nov 2017 16:00:22 -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 11A4060969; Fri, 1 Dec 2017 00:00: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 7E7A46092D; Fri, 1 Dec 2017 00:00:16 +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 1A2F560958; Fri, 1 Dec 2017 00:00:13 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id C76A760905 for ; Fri, 1 Dec 2017 00:00:11 +0000 (UTC) Received: from mxback6o.mail.yandex.net (mxback6o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::20]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 165111242685 for ; Fri, 1 Dec 2017 03:00:10 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback6o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RqF3u5gThS-09GWPndX; Fri, 01 Dec 2017 03:00:10 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xYJqeQ91tR-09vqExK8; Fri, 01 Dec 2017 03:00:09 +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: Fri, 1 Dec 2017 03:00:05 +0300 Message-Id: <1512086407-25684-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512086407-25684-1-git-send-email-odpbot@yandex.ru> References: <1512086407-25684-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 317 Subject: [lng-odp] [PATCH 2.0 v1 1/3] 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 317 (GBalakrishna:port_syzmon_crypto_changes) ** https://github.com/Linaro/odp/pull/317 ** Patch: https://github.com/Linaro/odp/pull/317.patch ** Base sha: 00c7441fae53949dd87855d48102f932f8f64537 ** Merge commit sha: 47d0d3921c6a03fb7ac9b994e06521598c5bd982 **/ 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