We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b5a6d commit 3654b8eCopy full SHA for 3654b8e
tests/run_tests.sh.in
@@ -22,18 +22,14 @@ HAVE_UNITTEST=@HAVE_PYMOD_UNITTEST@
22
PYTHON_VER=@PYTHON_VERSION@
23
24
if [ "$1" = "-v" ]; then
25
- OPTS="-v"
+ # p ./test*.py means the pattern for
26
+ # discover is local file starting with test
27
+ OPTS="-v -p ./test*.py"
28
shift
29
else
30
OPTS=""
31
fi
32
-if [ $# -ne 0 ]; then
- ARGS="$@"
33
-else
34
- ARGS=`find -name "test_*.py" | xargs -I @ basename @ .py`
35
-fi
36
-
37
CMD="python3 -m unittest"
38
39
-PYTHONPATH=../src:../ $CMD $OPTS $ARGS
+PYTHONPATH=../src:../ $CMD $OPTS
0 commit comments