Skip to content

Commit

Permalink
add compile test
Browse files Browse the repository at this point in the history
need use compile-file-if-src-newer until euslisp/EusLisp#314
  • Loading branch information
k-okada committed Aug 10, 2018
1 parent 4df6ca6 commit d88034c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,14 @@ travis_time_end

travis_time_start script.test
source bashrc.eus
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
export EXIT_STATUS=0;
echo "Source test"
for test_l in irteus/test/*.l; do irteusgl $test_l; export EXIT_STATUS=`expr $? + $EXIT_STATUS`; done;
travis_time_end

travis_time_start compiled.test
echo "Compiled test"
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;

echo "Exit status : $EXIT_STATUS"; [ $EXIT_STATUS == 0 ] || exit 1
travis_time_end

0 comments on commit d88034c

Please sign in to comment.