summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorting.wang <ting.wang@easystack.cn>2016-01-10 00:38:07 +0800
committerting.wang <ting.wang@easystack.cn>2016-01-11 19:39:08 +0800
commitd517d1344b0be739ad7192c9fb49518f8f138712 (patch)
tree8e0b7ef0488282d6f1a029bbb5eb87416ce79bc1 /tox.ini
parent5a4a029e4454c80e82130bf0c603bf8e30dc9b28 (diff)
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
Notes
Notes (review): Code-Review+2: Valeriy Ponomaryov <vponomaryov@mirantis.com> Code-Review+1: Goutham Pacha Ravi <gouthamr@netapp.com> Code-Review+1: Marc Koderer <marc@koderer.com> Code-Review+2: Clinton Knight <cknight@netapp.com> Workflow+1: Clinton Knight <cknight@netapp.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 15 Jan 2016 03:34:26 +0000 Reviewed-on: https://review.openstack.org/265574 Project: openstack/manila Branch: refs/heads/master
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 11 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 32673a5..944776d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,6 +18,17 @@ commands =
18commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \ 18commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
19 -b html releasenotes/source releasenotes/build/html 19 -b html releasenotes/source releasenotes/build/html
20 20
21[testenv:debug]
22commands = oslo_debug_helper {posargs}
23
24[testenv:debug-py27]
25basepython = python2.7
26commands = oslo_debug_helper {posargs}
27
28[testenv:debug-py34]
29basepython = python3.4
30commands = oslo_debug_helper {posargs}
31
21[testenv:pep8] 32[testenv:pep8]
22commands = 33commands =
23 flake8 {posargs} 34 flake8 {posargs}