diff mbox series

[v4,8/9] travis: add --enable-helper-linux test variants

Message ID 1504112406-3108-9-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v4,1/9] configure: enable all tests by default | expand

Commit Message

Github ODP bot Aug. 30, 2017, 5 p.m. UTC
From: Bill Fischofer <bill.fischofer@linaro.org>


The ODP helper modules can explicitly expose linux variants via the
--enable-helper-linux configuration option, so add that into the test
options as well to ensure full coverage.

[DES: just enable this option instead of adding another entry into build
matrix.]

Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 155 (lumag:improve-build-2)
 ** https://github.com/Linaro/odp/pull/155
 ** Patch: https://github.com/Linaro/odp/pull/155.patch
 ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca
 ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b
 **/
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 05cddbc3..45ffa396 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -156,6 +156,7 @@  script:
           --with-netmap-path=`pwd`/netmap
           --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF
           --enable-debug=full
+          --enable-helper-linux
         - make -j $(nproc)
         - mkdir /dev/shm/odp
         - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check
@@ -182,6 +183,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -193,6 +195,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -204,6 +207,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -215,6 +219,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -226,6 +231,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -237,6 +243,7 @@  jobs:
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug=full
                             --disable-test-cpp
+                            --enable-helper-linux
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -252,6 +259,7 @@  jobs:
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                               CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
                             --enable-debug=full
+                            --enable-helper-linux
                           - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check
                           - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy
                 - stage: test