14 lines
225 B
Bash
Executable File
14 lines
225 B
Bash
Executable File
#!/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
|
|
rm -rf my_test_dir |