From 1341c218e65f9563c65c280f7eb60343c4051546 Mon Sep 17 00:00:00 2001 From: caoyue Date: Mon, 18 Apr 2016 10:52:10 +0800 Subject: [PATCH] Add debug testenv in tox Once we add debug testenv, we can use "tox -e debug" to debug test cases when tox is running. Change-Id: I09d988a8659ad671030f7e2cee07a86f2cc91583 --- tox.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tox.ini b/tox.ini index 404794c07..39fd6c787 100644 --- a/tox.ini +++ b/tox.ini @@ -38,6 +38,17 @@ commands = [tox:jenkins] sitepackages = True +[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