[API-NEXT,v4,4/4] travis: do not run performance test in parallel under coverage

Message ID 1497538809-15817-5-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • travis: add sudo for missing tests
Related show

Commit Message

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


Performance tests have some limits to detect if they pass or fail
but under coverage execution is slow, running tests in parallel is
also very slow. Without that patch scheduler test simetimes fails.

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

---
/** Email created from pull request 49 (muvarov:api-next_travis_fixes)
 ** https://github.com/Linaro/odp/pull/49
 ** Patch: https://github.com/Linaro/odp/pull/49.patch
 ** Base sha: 4f97e500a097928e308a415c32a88465adc5f5cc
 ** Merge commit sha: 9da6cb2fc4e7c9c4bb5da96da553c50eeffcec59
 **/
 .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 64f4ff88..1bc82b3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -130,7 +130,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" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage"
-                          - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check -j ${nproc}
+                          - sudo LD_LIBRARY_PATH="/usr/local/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
                   env: TEST=distcheck