LS_COLORS/run_tests
2020-03-01 18:19:38 -08:00

19 lines
287 B
Bash
Executable File

#!/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