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: If12d6c7bd8b1ae04096b526ad37978f60fdb70db
This commit is contained in:
parent
5a4a029e44
commit
d517d1344b
11
tox.ini
11
tox.ini
|
@ -18,6 +18,17 @@ commands =
|
||||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
|
||||||
-b html releasenotes/source releasenotes/build/html
|
-b html releasenotes/source releasenotes/build/html
|
||||||
|
|
||||||
|
[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]
|
[testenv:pep8]
|
||||||
commands =
|
commands =
|
||||||
flake8 {posargs}
|
flake8 {posargs}
|
||||||
|
|
Loading…
Reference in New Issue