[v2,2/2] travis: add check for ODP_SHM_DIR

Message ID 1501153206-9210-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • [v2,1/2] linux-gen: fdserver: fix fdserver work if ODP_SHM_DIR is exported
Related show

Commit Message

Github ODP bot July 27, 2017, 11 a.m.
From: Maxim Uvarov <maxim.uvarov@linaro.org>


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

---
/** Email created from pull request 88 (muvarov:master_fix_odp_shm_dir)
 ** https://github.com/Linaro/odp/pull/88
 ** Patch: https://github.com/Linaro/odp/pull/88.patch
 ** Base sha: f4f7679d16917d9a7c1b2220e351fd27733ee96b
 ** Merge commit sha: a6955dcd7f0fe9643a901a2bc4ed4c9af8f92ab8
 **/
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/.travis.yml b/.travis.yml
index 42c2c963..93567912 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -132,7 +132,8 @@  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 $CONF
         - make -j $(nproc)
-        - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check
+        - mkdir /dev/shm/odp
+        - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check
         - make install
 
         - echo "Checking linking and run from install..."