Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug -- --debug" to debug test cases when tox is running. Change-Id: Id4372ca37664735af54d8c78b70a8668008df4d6
This commit is contained in:
parent
35601ed1b4
commit
20184996ff
11
tox.ini
11
tox.ini
@ -6,6 +6,17 @@ envlist = py34,py27,pypy,pep8
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:debug-py27]
|
||||
basepython = python2.7
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:debug-py34]
|
||||
basepython = python3.4
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user