ci: disable testing on ubuntu and debian
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sun, 2 Dec 2018 10:15:47 +0000 (11:15 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:15:43 +0000 (13:15 +0900)
it appears that there is a bug in meson (which is fixed upstream).
For now this disables the tests, it can be reverted later once 0.49 is
released.

This fixes the cron job for 2 jobs.

Differential Revision: https://phab.enlightenment.org/D7410

.ci/ci-make-check.sh

index 1744b48..6dff663 100755 (executable)
@@ -19,12 +19,16 @@ NUM_TRIES=5
 travis_fold check "make check-TESTS"
 if [ "$BUILDSYSTEM" = "ninja" ] ; then
    if [ "$DISTRO" != "" ] ; then
-     for tries in $(seq 1 ${NUM_TRIES}); do
-          (docker exec --env EINA_LOG_BACKTRACE="0" --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build test) && break
-          docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log
-          if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
-          false
-      done
+      # disable them for this distros, after meson 0.49 is out, this can be removed
+      # https://github.com/mesonbuild/meson/commit/253c581412d7f2b09af353dd83d943454bd555be
+      if [ "$DISTRO" != "Ubuntu1804" ] && [ "$DISTRO" != "Debian91" ]; then
+        for tries in $(seq 1 ${NUM_TRIES}); do
+            (docker exec --env EINA_LOG_BACKTRACE="0" --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build test) && break
+            docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat src/test-suite.log
+            if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
+            false
+        done
+      fi
    fi
 else
   if [ "$DISTRO" != "" ] ; then