deb-designate/tools/pretty_tox.sh
Kiall Mac Innes 165a3873dd Add pretty_tox subunit wrapper
Cleans up tox output to be more human friendly, this however does not
resolve the logs/stacktraces being shown three times.

Partial-Bug: 1413807
Change-Id: I8328b89e6a2d1c3f3dd8bd3218f450a4613ade59
2015-01-30 20:25:08 +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