[v1,3/3] travis: make distcheck work with custom cunit

Message ID 1501686006-18319-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • travis: cache cunit and netmap
Related show

Commit Message

Github ODP bot Aug. 2, 2017, 3 p.m.
From: Maxim Uvarov <maxim.uvarov@linaro.org>


distcheck uses it's own arguments to validate distribution
and does not inherrit them from top level configure. Provide
c/ld flags directly to make it happy compile and run tests.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 104 (muvarov:master_travis_cache)
 ** https://github.com/Linaro/odp/pull/104
 ** Patch: https://github.com/Linaro/odp/pull/104.patch
 ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c
 ** Merge commit sha: 7551b4468cbe92e2ec42a5d8feb70268b49bccda
 **/
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/.travis.yml b/.travis.yml
index b006af3e..6da2a858 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -236,7 +236,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-cunit-path=$HOME/cunit-install/$CROSS_ARCH
-                          - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck
+                          - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck CFLAGS="-I$HOME/cunit-install/$CROSS_ARCH/include" LDFLAGS="-L$HOME/cunit-install/$CROSS_ARCH/lib"
                 - stage: test
                   env: TEST=doxygen
                   compiler: gcc