You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
426 B
16 lines
426 B
#!/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
|
|
|