bd7cc62a73
Change-Id: Id717f076d13f10697a7528139950a0b70d95c1c3
17 lines
378 B
Bash
Executable File
17 lines
378 B
Bash
Executable File
#!/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
|
|
stestr run --slowest "$TESTRARGS"
|
|
else
|
|
stestr run --slowest --subunit "$TESTRARGS" | subunit-trace -f
|
|
fi
|