From 83f79bc2f44330fe3a00855641c90c321daa9dac Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 27 Sep 2016 13:30:04 +0100 Subject: [PATCH] run-tests.sh: use `python setup.py test` so that pytest is bootstrapped automatically with tests_require --- run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index 662d19aef..0eb84de03 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -22,7 +22,7 @@ done # Run tests if [ -z "$FILTERS" ]; then - $PYTHON -m pytest + $PYTHON setup.py test else - $PYTHON -m pytest -k "$FILTERS" + $PYTHON setup.py test --addopts="-k \"$FILTERS\"" fi