Onionr/run_tests.sh

10 lines
183 B
Bash
Executable File

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