@@ -99,6 +99,23 @@ if [ "$QEMU" != "" ]; then
9999 travis_time_end ` expr 32 - $TMP_EXIT_STATUS `
100100
101101 export EXIT_STATUS=` expr $TMP_EXIT_STATUS + $EXIT_STATUS ` ;
102+
103+ travis_time_start compiled.${test_l##*/ } .test
104+
105+ eusgl " (let ((o (namestring (merge-pathnames \" .o\" \" $test_l \" ))) (so (namestring (merge-pathnames \" .so\" \" $test_l \" )))) (compile-file \" $test_l \" :o o) (if (probe-file so) (load so) (exit 1))))"
106+ export TMP_EXIT_STATUS=$?
107+
108+ export CONTINUE=0
109+ # const.l does not compilable https://github.com/euslisp/EusLisp/issues/318
110+ if [[ $test_l =~ const.l ]]; then export CONTINUE=1; fi
111+
112+ if [[ $CONTINUE == 0 ]]; then travis_time_end ` expr 32 - $TMP_EXIT_STATUS ` ; else travis_time_end 33; fi
113+
114+ if [[ $TMP_EXIT_STATUS != 0 ]]; then echo " Failed running $test_l . Exiting with $TMP_EXIT_STATUS " ; fi
115+
116+ if [[ $CONTINUE != 0 ]]; then continue ; fi
117+
118+ export EXIT_STATUS=` expr $TMP_EXIT_STATUS + $EXIT_STATUS ` ;
102119 done ;
103120 echo " Exit status : $EXIT_STATUS " ;
104121
@@ -129,8 +146,14 @@ if [[ "$DOCKER_IMAGE" == *"trusty"* || "$DOCKER_IMAGE" == *"jessie"* ]]; then
129146else
130147 make eus-installed WFLAGS=" -Werror=implicit-int -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=unused-result"
131148fi
149+ travis_time_end
150+
151+ travis_time_start script.make.jskeus
152+
132153make
133154
155+ travis_time_end
156+
134157travis_time_start script.eustag
135158
136159(cd eus/lisp/tool; make)
237260 export TMP_EXIT_STATUS=$?
238261
239262 export CONTINUE=0
240- # bignum test fails on armhf
241- if [[ " ` uname -m` " == " arm" * && $test_l =~ bignum.l ]]; then export CONTINUE=1; fi
242- # sort test fails on armhf (https://github.com/euslisp/EusLisp/issues/232)
243- if [[ " ` uname -m` " == " arm" * && $test_l =~ sort.l ]]; then export CONTINUE=1; fi
244263 # const.l does not compilable https://github.com/euslisp/EusLisp/issues/318
245264 if [[ $test_l =~ const.l ]]; then export CONTINUE=1; fi
246265
263282 export TMP_EXIT_STATUS=$?
264283
265284 export CONTINUE=0
266- # irteus-demo.l, robot-model-usage.l and test-irt-motion.l fails on armhf both trusty and xenial
267- if [[ " ` uname -m` " == " arm" * && $test_l =~ irteus-demo.l| robot-model-usage.l| test-irt-motion.l ]]; then export CONTINUE=1; fi
268285 # skip collision test because bullet of 2.83 or later version is not released in trusty and jessie.
269286 # https://github.com/euslisp/jskeus/blob/6cb08aa6c66fa8759591de25b7da68baf76d5f09/irteus/Makefile#L37
270287 if [[ ( " $DOCKER_IMAGE " == * " trusty" * || " $DOCKER_IMAGE " == * " jessie" * ) && $test_l =~ test-collision.l ]]; then export CONTINUE=1; fi
0 commit comments