summaryrefslogtreecommitdiffstats
path: root/networking-odl/tools/pretty_tox.sh
diff options
context:
space:
mode:
Diffstat (limited to 'networking-odl/tools/pretty_tox.sh')
-rwxr-xr-xnetworking-odl/tools/pretty_tox.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/networking-odl/tools/pretty_tox.sh b/networking-odl/tools/pretty_tox.sh
new file mode 100755
index 0000000..a40f248
--- /dev/null
+++ b/networking-odl/tools/pretty_tox.sh
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+TESTRARGS=$1
+
+exec 3>&1
+status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--subunit $TESTRARGS"; echo $? >&4 ) | $(dirname $0)/subunit-trace.py -f) && exit $status