1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 15:00:38 +00:00

Fix run_tests.sh to report error on failed tests

This commit is contained in:
Matthew Kilgore 2022-05-01 02:03:34 -04:00 committed by Matt Kilgore
parent 3acf3759da
commit a66b9c1ca6

View file

@ -1,4 +1,8 @@
#!/bin/bash
./tests/assert.sh ./tests/compile_tests.sh ./qb64
./tests/assert.sh ./tests/qbasic_tests.sh ./qb64
result=0
./tests/assert.sh ./tests/compile_tests.sh ./qb64 || result=1
./tests/assert.sh ./tests/qbasic_tests.sh ./qb64 || result=1
exit $result