1d5f32b48e
This commit cleans up how tempest failure logs are displayed. We'll no longer dump the failure information to the console as a test fails. Instead all the failure logs will be printed after the tests are run. Change-Id: I7ecdc349d913b43f4fb0505d5c17c66f811774b4
15 lines
212 B
Bash
Executable File
15 lines
212 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=$@
|
|
|
|
if [ ! -d .testrepository ]; then
|
|
testr init
|
|
fi
|
|
testr run --subunit $TESTRARGS | $(dirname $0)/subunit-trace.py -f -n
|
|
retval=$?
|
|
testr slowest
|
|
|
|
exit $retval
|