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:
ting.wang 2016-01-10 00:38:07 +08:00
parent 5a4a029e44
commit d517d1344b
1 changed files with 11 additions and 0 deletions

11
tox.ini
View File

@ -18,6 +18,17 @@ commands =
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
-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]
commands =
flake8 {posargs}