From patchwork Tue Aug 15 14: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: 110165 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5710717qge; Tue, 15 Aug 2017 07:02:59 -0700 (PDT) X-Received: by 10.55.66.23 with SMTP id p23mr35654981qka.270.1502805779485; Tue, 15 Aug 2017 07:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502805779; cv=none; d=google.com; s=arc-20160816; b=QJgd0n33xdRwMLEhAskGl+hqgQoqMNEhiPOKsiqOvR+2nk8DY3hCVB2vae81xaPPam AFeV43M++Dy4fo03I7Y1xaJ0yEhRvVyo1meplHLuUUvIYGZrlAuna/CcL7BVzGu3Ne3j CSSx7hzytFZ79Tj+i1GCDLWbJeTzVidbkUT1jng65DCEPhKRNtM8HyivE2mnT1iNVZz4 HgqeW5JEXPQbYBW979FWbv7I3neGBnHo7W8VQI8x25U4f8tvEuQzyYlgSe+15bEBfV39 IB2ixgi1BdnKYGbe4+RmgWeXbQCe2rBCuCxhFkPZebQB9Lpa9QdywNwytRbWJmOA24jV h0Ng== 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=T0Mg02fIEoUjNXH4QkxjB1mA0knulzWAUiRQ4aoLing=; b=vAltRsrK6ED/Ww9i3RnkOZh19Ww6k7K2bJD++caPNGKC39wuUCqYfLfneKyTPb7UeV ZLjMpMlQTchT5tQxhJj391cNrzRim8DGV6pg+KXBNP3T39aQ7d2miVYHgbHvIQHpvcPF ZGqWqncOB6Oua2iTyFVIzS9TL40uXnbvuEZtCO4CG7n1lDr18bN/bH3VejxadW/PVoPd 0lsenbLas3HWZBgqBP0ifSch33UogIYOzcjR6H+z8MNRpWCwjtgNw6wg9UuK35MWGVnj bKXibebZggNoj4V4L+LnCaK4Xj0zAN4njCD6cwloYH4jbzfm169Ee0vvoHqX5a6+f482 OblA== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v66si5731017qki.144.2017.08.15.07.02.58; Tue, 15 Aug 2017 07:02:59 -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 D62EE65BF2; Tue, 15 Aug 2017 14:02:58 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 C4204607A1; Tue, 15 Aug 2017 14:00:52 +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 621CE65BE0; Tue, 15 Aug 2017 14:00:38 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 64AB0644E0 for ; Tue, 15 Aug 2017 14:00:30 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward104p.mail.yandex.net (Yandex) with ESMTP id C267E184B86 for ; Tue, 15 Aug 2017 17:00:28 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PdlVf06rDf-0SaOeJXS; Tue, 15 Aug 2017 17:00:28 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id g3i7SZ3T5H-0Sxiswv3; Tue, 15 Aug 2017 17:00:28 +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: Tue, 15 Aug 2017 17:00:06 +0300 Message-Id: <1502805606-8393-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502805606-8393-1-git-send-email-odpbot@yandex.ru> References: <1502805606-8393-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 128 Subject: [lng-odp] [PATCH CLOUD-DEV v5 3/3] travis: enable linux-dpdk in travis 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 128 (GBalakrishna:linux-dpdk-cloud) ** https://github.com/Linaro/odp/pull/128 ** Patch: https://github.com/Linaro/odp/pull/128.patch ** Base sha: 4e11ef454d383b9637541c53ad4eeda65751742b ** Merge commit sha: 6a3d940960140ca34bfe6eca648c1cdd17195b30 **/ .travis.yml | 9 ++++++++- test/linux-dpdk/wrapper-script.sh | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d24cdc5..9e849344 100644 --- a/.travis.yml +++ b/.travis.yml @@ -256,7 +256,14 @@ jobs: - ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`; - if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi; - ./scripts/ci-checkpatches.sh ${ODP_PATCHES}; - + - stage: test + env: TEST=linux-dpdk + compiler: gcc + script: + - ./bootstrap + - ./configure --with-platform=linux-dpdk --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-sdk-install-path=`pwd`/dpdk/${TARGET} --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF + - make -j $(nproc) + - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check after_failure: - cat config.log - find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \; diff --git a/test/linux-dpdk/wrapper-script.sh b/test/linux-dpdk/wrapper-script.sh index 0dc2d23c..1fbb16f7 100755 --- a/test/linux-dpdk/wrapper-script.sh +++ b/test/linux-dpdk/wrapper-script.sh @@ -62,11 +62,11 @@ fi echo "running $1!" if [ ${1: -3} == ".sh" ] then - sudo TEST_DIR=${TEST_DIR} \ + TEST_DIR=${TEST_DIR} \ ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \ ODP_GDB=$ODP_GDB $1 else - sudo TEST_DIR=${TEST_DIR} ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \ + TEST_DIR=${TEST_DIR} ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \ $ODP_GDB $1 fi res=$?