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:
parent
da6ccba535
commit
f2e55cb507
18
tests/run_c_tests.sh
Executable file
18
tests/run_c_tests.sh
Executable 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
|
Loading…
Reference in a new issue