[v4,7/9] travis: enable full debug option

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

Commit Message

Github ODP bot Aug. 30, 2017, 5 p.m.
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


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

Cc: 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 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Patch

diff --git a/.travis.yml b/.travis.yml
index bd2e3e32..05cddbc3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -155,7 +155,7 @@  script:
           --with-dpdk-path=`pwd`/dpdk/${TARGET}
           --with-netmap-path=`pwd`/netmap
           --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF
-          --enable-debug
+          --enable-debug=full
         - 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
@@ -180,7 +180,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -191,7 +191,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -202,7 +202,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -213,7 +213,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -224,7 +224,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -235,7 +235,7 @@  jobs:
                   script:
                           - ./bootstrap
                           - ./configure --prefix=$HOME/odp-install $CROSS
-                            --enable-debug
+                            --enable-debug=full
                             --disable-test-cpp
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                           - make -j $(nproc)
@@ -251,7 +251,7 @@  jobs:
                               -coverage"
                             --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH
                               CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
-                            --enable-debug
+                            --enable-debug=full
                           - 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