Simplify test framework and improve test script
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
echo ":: Evaluator tests ::" && build/evaluator_tests
|
||||
echo ":: Reader tests ::" && build/reader_tests
|
||||
|
||||
fails=0
|
||||
|
||||
build/evaluator_tests || fails=`expr $fails + 1`
|
||||
build/reader_tests || fails=`expr $fails + 1`
|
||||
|
||||
if [ $fails -eq 0 ]; then echo Tests OK; fi
|
||||
|
||||
Reference in New Issue
Block a user