Add unittest like output for testr-full in tox
This commit adds real time output similar to that when running with nose so that it's possible to watch the status of the job when using testr with tempest. Change-Id: I7a65be714627692ad80b3640af0ee617fd4697a9
This commit is contained in:
parent
0e2d8aaea4
commit
8551278461
4
tools/pretty_tox.sh
Executable file
4
tools/pretty_tox.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
TESTRARGS=$1
|
||||
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit2pyunit
|
2
tox.ini
2
tox.ini
@ -30,7 +30,7 @@ commands =
|
||||
sitepackages = True
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='tempest.api tempest.scenario tempest.thirdparty tempest.cli'
|
||||
sh tools/pretty_tox.sh 'tempest.api tempest.scenario tempest.thirdparty tempest.cli'
|
||||
|
||||
[testenv:smoke]
|
||||
sitepackages = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user