From f56d593217a4053f87309090c317b71e1f10446e Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Sun, 27 Oct 2013 10:50:17 -0500 Subject: [PATCH] Automagically test every test in the test directory. --- test.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 535f6d408..cce176a58 100755 --- a/test.sh +++ b/test.sh @@ -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