Use ostestr instead of the custom pretty_tox.sh

Switch to os-testr as wrapper for testr, instead of the custom
script pretty_tox.sh.

Change-Id: I5b76cf9ffca530664b1c1ddcbf98679ab4fca8b5
This commit is contained in:
Luigi Toscano 2017-02-09 12:29:02 +01:00
parent 496e6f868a
commit 146ab70a56
3 changed files with 2 additions and 8 deletions

View File

@ -6,7 +6,7 @@ mock>=1.0
python-subunit
oslo.sphinx
oslotest>=1.2.0
tempest-lib
os-testr>=0.4.1
testrepository>=0.0.18
testscenarios>=0.4,<0.5
testtools>=0.9.34

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$1
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f

View File

@ -11,7 +11,7 @@ setenv =
passenv = OS_TEST_TIMEOUT
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = bash tools/pretty_tox.sh '{posargs}'
commands = ostestr '{posargs}'
whitelist_externals = bash
[testenv:pep8]