Add -bb when running tests

Fixes #1989
This commit is contained in:
Florian Bruhin 2017-03-18 21:08:07 +01:00
parent 069f908a61
commit 1254f4d132

18
tox.ini
View File

@ -19,7 +19,7 @@ deps =
-r{toxinidir}/misc/requirements/requirements-tests.txt
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m pytest {posargs:tests}
{envpython} -bb -m pytest {posargs:tests}
# test envs with coverage
@ -31,7 +31,7 @@ passenv = {[testenv]passenv}
deps = {[testenv]deps}
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} scripts/dev/check_coverage.py {posargs}
[testenv:py35-cov]
@ -41,7 +41,7 @@ passenv = {[testenv]passenv}
deps = {[testenv]deps}
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} scripts/dev/check_coverage.py {posargs}
[testenv:py34-cov]
@ -51,7 +51,7 @@ passenv = {[testenv]passenv}
deps = {[testenv]deps}
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} scripts/dev/check_coverage.py {posargs}
# test envs with PyQt5 from PyPI
@ -65,7 +65,7 @@ passenv = {[testenv]passenv}
deps =
{[testenv]deps}
PyQt5==5.6
commands = {envpython} -m pytest {posargs:tests}
commands = {envpython} -bb -m pytest {posargs:tests}
[testenv:py35-pyqt571]
basepython = python3.5
@ -76,7 +76,7 @@ passenv = {[testenv]passenv}
deps =
{[testenv]deps}
PyQt5==5.7.1
commands = {envpython} -m pytest {posargs:tests}
commands = {envpython} -bb -m pytest {posargs:tests}
[testenv:py36-pyqt571]
basepython = python3.6
@ -87,7 +87,7 @@ passenv = {[testenv]passenv}
deps =
{[testenv]deps}
PyQt5==5.7.1
commands = {envpython} -m pytest {posargs:tests}
commands = {envpython} -bb -m pytest {posargs:tests}
[testenv:py35-pyqt58]
basepython = python3.5
@ -98,7 +98,7 @@ passenv = {[testenv]passenv}
deps =
{[testenv]deps}
PyQt5==5.8.1.1
commands = {envpython} -m pytest {posargs:tests}
commands = {envpython} -bb -m pytest {posargs:tests}
[testenv:py36-pyqt58]
basepython = python3.6
@ -109,7 +109,7 @@ passenv = {[testenv]passenv}
deps =
{[testenv]deps}
PyQt5==5.8.1.1
commands = {envpython} -m pytest {posargs:tests}
commands = {envpython} -bb -m pytest {posargs:tests}
# other envs