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.
12 lines
326 B
12 lines
326 B
#!/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
|
|
|