neutron/tools/pretty_tox.sh
Matthew Treinish 65b8daffd1 Switch to using subunit-trace from tempest-lib
This commit removes the local copy of subunit-trace and instead uses
the version packaged with tempest-lib.

Change-Id: Ia7b57c6fc092514d9fbe4e71f580a4b189dc68b0
2014-12-10 18:35:45 -05:00

7 lines
226 B
Bash
Executable File

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