deadsimplekv/run_tests.sh

13 lines
206 B
Bash
Raw Normal View History

2019-03-01 05:50:06 +00:00
#!/bin/bash
ran=0
SECONDS=0 ;
close () {
exit 10;
}
for f in tests/*.py; do
python3 "$f" || close # if needed
let "ran++"
done
echo "ran $ran test files successfully in $SECONDS seconds"
rm *.dat