diff --git a/tools/pretty_tox.sh b/tools/pretty_tox.sh deleted file mode 100755 index 01b67a8d97..0000000000 --- a/tools/pretty_tox.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -o pipefail - -TESTRARGS=$1 -python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace -f -retval=$? -# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr -# wrapper so just manually print the slowest tests. -echo -e "\nSlowest Tests:\n" -testr slowest -exit $retval diff --git a/tox.ini b/tox.ini index 6e0749a9ca..810b6cb0cc 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = -r{toxinidir}/test-requirements.txt .[ldap,memcache,mongodb] commands = find keystone -type f -name "*.pyc" -delete - bash tools/pretty_tox.sh '{posargs}' + ostestr '{posargs}' whitelist_externals = bash find