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
changes/52/431452/1
Luigi Toscano 6 years ago
parent 496e6f868a
commit 146ab70a56

@ -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

@ -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

@ -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]

Loading…
Cancel
Save