cf15d5a9de
This runs most of the functional tests in the normal tox target. (all except those tagged live). Change-Id: Icf69ff743ba223c1b08abe858f567babfaaa64cf
17 lines
380 B
Bash
Executable File
17 lines
380 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=$*
|
|
|
|
# --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
|
|
ostestr --slowest $TESTRARGS
|
|
else
|
|
ostestr --no-pretty --slowest --subunit $TESTRARGS | subunit-trace -f
|
|
fi
|