Onionr/run_tests.sh

10 lines
183 B
Bash
Raw Normal View History

2019-02-14 23:52:08 +00:00
#!/bin/bash
cd onionr;
mkdir testdata;
ran=0
2019-02-14 23:52:08 +00:00
for f in tests/*.py; do
python3 "$f" || break # if needed
let "ran++"
2019-02-14 23:52:08 +00:00
done
rm -rf testdata;
echo "ran $ran test files successfully"