tempest/tools/pretty_tox_serial.sh
Matthew Treinish cdb7f549a9 Switch to using subunit-trace from tempest-lib
This commit removes the tempest copy of subunit-trace and uses the
entry-point from tempest-lib instead.

Partially implements bp tempest-library

Change-Id: Ic1aeddc2d0b217c41b6b9914ac3f269b80c4ec8e
2014-10-23 15:07:49 +00:00

15 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$@
if [ ! -d .testrepository ]; then
testr init
fi
testr run --subunit $TESTRARGS | subunit-trace -f -n
retval=$?
testr slowest
exit $retval