Add run-tests to run all unit tests

We need to run it from the correct folder containing pytest.ini in
case the tests need certain indico plugins.
This commit is contained in:
Adrian Moennich 2014-11-20 11:54:34 +01:00
parent a2aa6f8c70
commit ea0a03cfca

7
run-tests.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
for dir in $(find -name pytest.ini -exec dirname {} +); do
pushd "$dir" >/dev/null
py.test "$@"
popd >/dev/null
done