8c76fbe02d
This makes the test output look like nova's, for consistency. Change-Id: I24887521d5a3c7d768d77e07e40ab4468e77c9b9
13 lines
326 B
Bash
13 lines
326 B
Bash
#!/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
|