bocker/run-tests

13 lines
179 B
Bash
Executable File

#!/usr/bin/env bash
exit_code=0
for t in test/test_*; do
bash "$t"
if [[ $? == 0 ]]; then
echo "PASSED: $t"
else
echo "FAILED: $t"
exit_code=1
fi
done
exit "$exit_code"