Simplify test framework and improve test script

This commit is contained in:
2024-10-24 15:59:56 +01:00
parent 29deffdce9
commit 810feee55e
3 changed files with 13 additions and 40 deletions

View File

@@ -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