From d88034cec10c8d61a48f8a455c723ea242f65816 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Fri, 10 Aug 2018 10:27:32 +0900 Subject: [PATCH] add compile test need use compile-file-if-src-newer until https://github.com/euslisp/EusLisp/pull/314 --- .travis.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.sh b/.travis.sh index 4bf4158e9..5ff148c8d 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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