LS_COLORS/run_tests

19 lines
287 B
Plaintext
Raw Normal View History

2020-03-02 03:19:38 +01:00
#!/usr/bin/env bash
#
errors=0
for file in ./tests/* ; do
if [[ -e "$file" ]] ; then
echo "$file"
echo "--"
bash "$file" ; ((errors += $?))
echo ""
fi
done
if [[ "$errors" -ne 0 ]] ; then
echo "Test failures: $errors"
exit "$errors"
fi