From db7c4fa3fd035170aadd3b927ea097211fc41647 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 3 Jan 2014 10:42:16 +0100 Subject: [PATCH] Allow passing arguments to tox Pass extra arguments to tests. This allows to run for example: tox -- --force Also reorder elements of envlist. Change-Id: I6377da8dec6b6b15a6ea3899e2651cfd40b221f0 --- tox.ini | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 75958b4a4d..8961dcd0aa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 1.6 -envlist = checkbuild,checkdeletions,checkniceness,checksyntax -skipsdist=True +envlist = checkniceness,checksyntax,checkdeletions,checkbuild +skipsdist = True [testenv] setenv = @@ -15,13 +15,13 @@ deps = -r{toxinidir}/test-requirements.txt commands = {posargs} [testenv:checkniceness] -commands = openstack-doc-test --check-niceness +commands = openstack-doc-test --check-niceness {posargs} [testenv:checksyntax] -commands = openstack-doc-test --check-syntax +commands = openstack-doc-test --check-syntax {posargs} [testenv:checkdeletions] -commands = openstack-doc-test --check-deletions +commands = openstack-doc-test --check-deletions {posargs} [testenv:checkbuild] -commands = openstack-doc-test --check-build +commands = openstack-doc-test --check-build {posargs}