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: Ic0849f0e14dd13d4f6d3e45d0785b21de4b1c7bc
This commit is contained in:
parent
ea98738844
commit
1a04a9c6a4
11
tox.ini
11
tox.ini
|
@ -14,6 +14,17 @@ whitelist_externals = bash
|
|||
commands =
|
||||
bash -c "TESTS_DIR=./cue/tests/ 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 {posargs}
|
||||
|
|
Loading…
Reference in New Issue