run-tests.sh: use python setup.py test
so that pytest is bootstrapped automatically with tests_require
This commit is contained in:
parent
1422170d22
commit
83f79bc2f4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user