From f941ca2c7c6b2bab692309b10f6e2cbc495fcd1d Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 17 Apr 2017 18:02:49 -0700 Subject: [PATCH] Switched remaining jobs to ostestr This will, among other things, guarantee to us that if all tests are skipped, the targets will actually fail instead of silently succeeding. The only target that can't switch to ostestr is cover, but that's ok because it's effectively duplicated by other unit test jobs to guarantee that it runs some tests. Change-Id: I837c2d9d76f0d48a949106bf12bb91ab2c041fa3 Related-Bug: #1683249 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 3ed5ebbb..80e0067a 100644 --- a/tox.ini +++ b/tox.ini @@ -24,7 +24,7 @@ commands = [testenv:functional] setenv = OS_TEST_PATH=./neutron_dynamic_routing/tests/functional commands = - python setup.py testr --slowest --testr-args='{posargs}' + ostestr --slowest '{posargs}' [testenv:api] sitepackages=True @@ -33,7 +33,7 @@ setenv = OS_TESTR_CONCURRENCY=1 TEMPEST_CONFIG_DIR={env:TEMPEST_CONFIG_DIR:/opt/stack/tempest/etc} commands = - python setup.py testr --slowest --testr-args='{posargs}' + ostestr --slowest '{posargs}' [testenv:dsvm-functional] setenv =