Skip to content

Commit d88034c

Browse files
committed
add compile test
need use compile-file-if-src-newer until euslisp/EusLisp#314
1 parent 4df6ca6 commit d88034c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.travis.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,14 @@ travis_time_end
4343

4444
travis_time_start script.test
4545
source bashrc.eus
46-
export EXIT_STATUS=0; for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ] || exit 1
46+
export EXIT_STATUS=0;
47+
echo "Source test"
48+
for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;
49+
travis_time_end
50+
51+
travis_time_start compiled.test
52+
echo "Compiled test"
53+
for test_l in irteus/test/*.l; do irteusgl "(progn (comp::compile-file-if-src-newer \"$test_l\" \"irteus/test\") (load (namestring (merge-pathnames \".so\" \"$test_l\"))))"; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;
54+
55+
echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ] || exit 1
4756
travis_time_end

0 commit comments

Comments
 (0)