blob: a2eab2a036d7f0b3f0d1919d60a2aef1903b8ed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"
cd "$basedir" || exit 1
for t in *.py; do
echo "Running $t ..."
python3 -m unittest -v "$t" || exit 1
done
rm -rf "$basedir"/test_*.bin "$basedir"/__pycache__
|