diff mbox series

[v1,2/3] travis: add --enable-debug-print configure option to tests

Message ID 1504054809-22152-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/3] travis: split configure commands into individual options | expand

Commit Message

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


The --enable-debug-print option allows expansion of ODP_DBG() debugging
statements throughout ODP. Add this option to .travis.yml to ensure that
these are properly tested as part of regressions.

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

---
/** Email created from pull request 153 (Bill-Fischofer-Linaro:travis-test-all)
 ** https://github.com/Linaro/odp/pull/153
 ** Patch: https://github.com/Linaro/odp/pull/153.patch
 ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca
 ** Merge commit sha: 54705308dc2e80267a6ca751a99089bbdb744fc5
 **/
 .travis.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index 478d4200..513e87fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -162,6 +162,7 @@  script:
           --with-netmap-path=`pwd`/netmap
           --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF
           --enable-debug
+          --enable-debug-print
         - 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
@@ -187,6 +188,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -203,6 +205,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -219,6 +222,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -235,6 +239,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -251,6 +256,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -267,6 +273,7 @@  jobs:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
                             --enable-debug
+                            --enable-debug-print
                             --disable-test-cpp
                             --enable-test-vald
                             --enable-test-helper
@@ -294,6 +301,7 @@  jobs:
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                               CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
                             --enable-debug
+                            --enable-debug-print
                           - 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