From patchwork Fri Aug 18 09:00:07 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: 110367 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp636513qge; Fri, 18 Aug 2017 02:02:33 -0700 (PDT) X-Received: by 10.237.35.163 with SMTP id j32mr12186328qtc.29.1503046953290; Fri, 18 Aug 2017 02:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503046953; cv=none; d=google.com; s=arc-20160816; b=wWeGYHq0xnXD8VCP5dN8dnPdIqK/C3ud1nM9wighCibXPIg0p8eM821MtGm1OH4e8+ yn4H2vUfcr5Yff5vnObuoZWRWwhnb1LCqNoErJ0twJbxc19hOrAtcokwlultWq8OuZdN gNiGWFOZgeYFT0epfk2VUu94r8ohskB3bzEF9fEvcCcAn9lgdhHIXFuhAyTU86z/8dLb e50BpZbvZuy+RzQJEU0OfBKHrsB7N1VXw5vzQdca5x36UGe7QEUxdEbFTyHjuXcEE7Xy n6zG2bMyKeIIWJiYKMbWNRyfxTn1GOWSUSphP5eixo29JhYmSKAy8T23Tif3iATxQpUs r78Q== 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=V4x01/Va9wWvoTETF7TCMR/PX9x9E3BH1YWfTj9AViU=; b=NRV/KkiZiJs5W+FH3L74UvZqA/l+cONS1qvCITI7vIMv+N8o1fzt0E7S2hyLN0pZ/7 Fj5dvMLbwXT5TrMVqzkdk6eAAbFjG6eXfW75tBFGrrcGF2SgQVn+lqzsKZ3EHz+iCdf0 yac4XRd5wUQBY7PHtm8hzAWpzotg4rKZwRTCYWtYWzWiEggAFz6P+Vke2NK6lsbN5pnS jiKLclVZAKIboOWX1STzYwDkQx9HVwyh+rvaedcJS11Ix88zB8tKTLG4nlqZG6awDIwa 2GyRRp+iV7bZk8Kycs+CUOIUh6BBADa45St7Aqw2CUUQWMFr0zyYPX/sqeTYyDo6JORT YoqQ== 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 m2si4686719qkf.473.2017.08.18.02.02.33; Fri, 18 Aug 2017 02:02:33 -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 E951F65CA0; Fri, 18 Aug 2017 09:02:32 +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, RCVD_IN_DNSWL_NONE,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 AF11E608C5; Fri, 18 Aug 2017 09:01:00 +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 5AD6265C88; Fri, 18 Aug 2017 09:00:51 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 5C3F265C86 for ; Fri, 18 Aug 2017 09:00:45 +0000 (UTC) Received: from mxback1o.mail.yandex.net (mxback1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1b]) by forward101p.mail.yandex.net (Yandex) with ESMTP id D695A6A83E29 for ; Fri, 18 Aug 2017 12:00:43 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback1o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ssQ1P1hE2A-0he4XOw7; Fri, 18 Aug 2017 12:00:43 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 8N6pV62QAY-0hNqvJue; Fri, 18 Aug 2017 12:00:43 +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, 18 Aug 2017 12:00:07 +0300 Message-Id: <1503046807-18491-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503046807-18491-1-git-send-email-odpbot@yandex.ru> References: <1503046807-18491-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 134 Subject: [lng-odp] [PATCH CLOUD-DEV v1 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 134 (GBalakrishna:linux-dpdk-cloud) ** https://github.com/Linaro/odp/pull/134 ** Patch: https://github.com/Linaro/odp/pull/134.patch ** Base sha: 1cd271cf2b8be3e79625ab19648178e906612fc4 ** Merge commit sha: fa5d6df18ededa59dcaf9f48df33471a18ec730b **/ .travis.yml | 10 +++++++++- test/linux-dpdk/wrapper-script.sh | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d24cdc5..52339b53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -133,6 +133,7 @@ install: make config T=${TARGET} O=${TARGET} pushd ${TARGET} sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config + sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OPENSSL=).*,\1y,' .config popd make install T=${TARGET} EXTRA_CFLAGS="-fPIC" rm -r ./doc ./${TARGET}/app ./${TARGET}/build @@ -256,7 +257,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=$?