From e92a9584e085863cadc487d4c4d9c4fe10373eb1 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sep 04 2020 07:51:05 +0000 Subject: Fix tests run to run only 1 single test Since tests/ is always used, all tests are run, which is not helpful given the tests suite is taking more than 20 minutes to run. --- diff --git a/dev/containers/runtests_py2.sh b/dev/containers/runtests_py2.sh index da25444..850cb38 100644 --- a/dev/containers/runtests_py2.sh +++ b/dev/containers/runtests_py2.sh @@ -23,4 +23,4 @@ git --no-pager log -2 fi export LANG="en_US.UTF-8" -py.test -n auto tests/ $TESTCASE +py.test -n auto ${TESTCASE:-tests/} diff --git a/dev/containers/runtests_py3.sh b/dev/containers/runtests_py3.sh index eafca5c..e1fa1aa 100644 --- a/dev/containers/runtests_py3.sh +++ b/dev/containers/runtests_py3.sh @@ -22,4 +22,4 @@ echo "Last commits:" git --no-pager log -2 fi -pytest-3 -n auto tests/ $TESTCASE +pytest-3 -n auto ${TESTCASE:-tests/}