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: I4ddc128c27cfcde9dddcbd93851b0995d227098f
This commit is contained in:
caoyue 2016-01-13 16:48:34 +08:00
parent 2e21a4d0af
commit f80d7a86a7
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@ commands = bash tools/pretty_tox.sh '{posargs}'
[testenv:cover]
commands = {toxinidir}/tools/cover.sh {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}