1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 10:30:36 +00:00

Add script for running C++ tests

This commit is contained in:
Matthew Kilgore 2022-06-07 23:57:12 -04:00
parent da6ccba535
commit f2e55cb507

18
tests/run_c_tests.sh Executable file
View file

@ -0,0 +1,18 @@
#!/bin/bash
. ./tests/colors.sh
result=0
for test in buffer
do
./tests/exes/cpp/${test}_test || result=1
done
if [ "$result" != "1" ]; then
echo "====== FINAL RESULT: ${GREEN}PASS${RESET} ======"
else
echo "====== FINAL RESULT: ${RED}FAIL${RESET} ======"
fi
exit $result