diff mbox series

[CLOUD-DEV,v9,3/3] travis: enable linux-dpdk in travis

Message ID 1502881206-3559-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [CLOUD-DEV,v9,1/3] configure: Enable linux-dpdk | expand

Commit Message

Github ODP bot Aug. 16, 2017, 11 a.m. UTC
From: Balakrishna Garapati <balakrishna.garapati@linaro.org>


Signed-off-by: Balakrishna Garapati <balakrishna.garapati@linaro.org>

---
/** 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: c1671187a453e89a95badb7144ffdfc08bf7e3b9
 **/
 .travis.yml                       | 10 +++++++++-
 test/linux-dpdk/wrapper-script.sh |  4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)
diff mbox series

Patch

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=$?