Made vigil into a package with a setup.py file.

This commit is contained in:
Andrew Hamilton 2017-06-27 14:03:32 +01:00
parent 49f8d87659
commit 5728e5cff3
135 changed files with 76 additions and 50 deletions

View file

@ -5,10 +5,10 @@
FAILURE=0
CODEBASE_PATH=$(dirname $0)
for test in ${CODEBASE_PATH}/*_test.py; do
CODEBASE_PATH=$(realpath $(dirname $0))
for test in ${CODEBASE_PATH}/tests/*_test.py; do
echo "Testing $test ..."
${test} 2>&1
python3 -m unittest ${test} 2>&1
FAILURE=$(($FAILURE | $?))
echo
done