From 173c03f2912faf037a20dc0c28cf859a0b766fc9 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Fri, 2 Jan 2015 16:34:03 +0200 Subject: [PATCH] Enable passing test regex to testr from tox This will enable us to pass a regex to tox (such as we already can for testr) of what tests we want to execute. So we can do stuff like this: $ tox -e py27,py33 -- test_barbican Which will execute the tests that match that "test_barbican" argument (which will actually be the tests in the test_barbican module) on the given environments. Change-Id: Id81b8ab4829c25454ee049b22e3e13a551055946 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 32aec87f..f507c8d4 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ setenv = deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = - python setup.py testr --coverage + python setup.py testr --coverage --testr-args='{posargs}' coverage combine coverage report -m