python-tatuclient/tools/pretty_tox.sh
Paul Glass 040ff35eea Run the functional tests in a more verbose mode
Previously, the cli functional tests would not display each test case
as they ran. This fixes that, similar to how the api functional tests
do this.

Change-Id: I899bafa4923dc9c80cad35cdb1f86cbf2e93038d
2016-04-07 15:11:27 +00:00

7 lines
181 B
Bash
Executable File

#! /bin/sh
TESTRARGS=$1
exec 3>&1
status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--subunit $TESTRARGS"; echo $? >&4 ) | subunit-trace -f) && exit $status