Merge "Allow passing arguments to tox"

This commit is contained in:
Jenkins 2014-01-03 17:45:09 +00:00 committed by Gerrit Code Review
commit ecc569b2e5

10
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
minversion = 1.6
envlist = checkbuild,checkniceness,checksyntax
skipsdist=True
envlist = checkniceness,checksyntax,checkbuild
skipsdist = True
[testenv]
setenv =
@ -15,10 +15,10 @@ deps = -r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:checkniceness]
commands = openstack-doc-test --api-site --check-niceness
commands = openstack-doc-test --api-site --check-niceness {posargs}
[testenv:checksyntax]
commands = openstack-doc-test --api-site --check-syntax
commands = openstack-doc-test --api-site --check-syntax {posargs}
[testenv:checkbuild]
commands = openstack-doc-test --api-site --check-build
commands = openstack-doc-test --api-site --check-build {posargs}