diff mbox series

[v5,1/1] travis: add --enable-debug to list of test variants

Message ID 1503356407-2658-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v5,1/1] travis: add --enable-debug to list of test variants | expand

Commit Message

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


ODP includes a number of ODP_ASSERT() calls to assist in debugging but
these never expand unless --enable-debug is used. Add that test variant
to test new ODP_ASSERT() calls added as part of PRs as well as to do
additional testing on PRs to verify that they don't contain more subtle
problems that the existing ODP_ASSERT() calls are designed to catch.
The --enable-debug option is used for all test cases except distcheck.

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

---
/** Email created from pull request 133 (Bill-Fischofer-Linaro:travis-debug)
 ** https://github.com/Linaro/odp/pull/133
 ** Patch: https://github.com/Linaro/odp/pull/133.patch
 ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3
 ** Merge commit sha: 6a38659041ea9f53119b58fc62bd03f7b2ec4986
 **/
 .travis.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index d750af1d..f3a150c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -174,7 +174,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -183,7 +183,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -192,7 +192,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -201,7 +201,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -210,7 +210,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -219,7 +219,7 @@  jobs:
                   install: true
                   script:
                           - ./bootstrap
-                          - ./configure --prefix=$HOME/odp-install $CROSS
+                          - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug
                             --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
                 - stage: test
@@ -228,6 +228,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
+                            --enable-debug
                           - 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