Merge "Switch to os-testr to control testr"
This commit is contained in:
commit
ae2c69780a
@ -16,5 +16,6 @@ testtools>=0.9.36,!=1.2.0
|
|||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
WebTest>=2.0
|
WebTest>=2.0
|
||||||
oslotest>=1.5.1 # Apache-2.0
|
oslotest>=1.5.1 # Apache-2.0
|
||||||
|
os-testr>=0.1.0
|
||||||
tempest-lib>=0.5.0
|
tempest-lib>=0.5.0
|
||||||
ddt>=0.7.0
|
ddt>=0.7.0
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
TESTRARGS=$1
|
|
||||||
|
|
||||||
exec 3>&1
|
|
||||||
status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--subunit $TESTRARGS"; echo $? >&4 ) | subunit-trace -f) && exit $status
|
|
4
tox.ini
4
tox.ini
@ -12,8 +12,8 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
whitelist_externals = sh
|
whitelist_externals = sh
|
||||||
commands =
|
commands =
|
||||||
dsvm-functional: {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
|
dsvm-functional: {toxinidir}/tools/deploy_rootwrap.sh {toxinidir} {envdir}/etc {envdir}/bin
|
||||||
sh tools/pretty_tox.sh '{posargs}'
|
ostestr --regex '{posargs}'
|
||||||
# there is also secret magic in pretty_tox.sh which lets you run in a fail only
|
# there is also secret magic in ostestr which lets you run in a fail only
|
||||||
# mode. To do this define the TRACE_FAILONLY environmental variable.
|
# mode. To do this define the TRACE_FAILONLY environmental variable.
|
||||||
|
|
||||||
[testenv:api]
|
[testenv:api]
|
||||||
|
Loading…
Reference in New Issue
Block a user