summaryrefslogtreecommitdiff
path: root/.ci/ci-make-check.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/ci-make-check.sh')
-rwxr-xr-x.ci/ci-make-check.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/.ci/ci-make-check.sh b/.ci/ci-make-check.sh
index 1744b4894c..6dff663e69 100755
--- a/.ci/ci-make-check.sh
+++ b/.ci/ci-make-check.sh
@@ -19,12 +19,16 @@ NUM_TRIES=5
19travis_fold check "make check-TESTS" 19travis_fold check "make check-TESTS"
20if [ "$BUILDSYSTEM" = "ninja" ] ; then 20if [ "$BUILDSYSTEM" = "ninja" ] ; then
21 if [ "$DISTRO" != "" ] ; then 21 if [ "$DISTRO" != "" ] ; then
22 for tries in $(seq 1 ${NUM_TRIES}); do 22 # disable them for this distros, after meson 0.49 is out, this can be removed
23 (docker exec --env EINA_LOG_BACKTRACE="0" --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build test) && break 23 # https://github.com/mesonbuild/meson/commit/253c581412d7f2b09af353dd83d943454bd555be
24 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log 24 if [ "$DISTRO" != "Ubuntu1804" ] && [ "$DISTRO" != "Debian91" ]; then
25 if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi 25 for tries in $(seq 1 ${NUM_TRIES}); do
26 false 26 (docker exec --env EINA_LOG_BACKTRACE="0" --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build test) && break
27 done 27 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log
28 if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
29 false
30 done
31 fi
28 fi 32 fi
29else 33else
30 if [ "$DISTRO" != "" ] ; then 34 if [ "$DISTRO" != "" ] ; then