Merge "More usage of ostestr and cleanup an unused dependency"

This commit is contained in:
Jenkins
2017-03-20 16:04:47 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 23 deletions
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$1
# --until-failure is not compatible with --subunit see:
#
# https://bugs.launchpad.net/testrepository/+bug/1411804
#
# this work around exists until that is addressed
if [[ "$TESTARGS" =~ "until-failure" ]]; then
python setup.py testr --slowest --testr-args="$TESTRARGS"
else
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f
fi