mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-10 11:00:22 +00:00
Automagically test every test in the test directory.
This commit is contained in:
parent
5e9f221ef5
commit
f56d593217
13
test.sh
13
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user