Automagically test every test in the test directory.

This commit is contained in:
Nick Daly 2013-10-27 10:50:17 -05:00
parent 5e9f221ef5
commit f56d593217

13
test.sh
View File

@ -1,8 +1,17 @@
#! /bin/sh
# This file is meant to be run from the Plinth root directory:
#
# $ cd plinth/
# $ ./test.sh
PYTHONPATH=modules/installed/lib:$PYTHONPATH
PYTHONPATH=vendor:$PYTHONPATH
PYTHONPATH=.:$PYTHONPATH
export PYTHONPATH
python tests/test_user_store.py
for file in tests/*.py
do
echo "Testing ${file}:"
python $file
done