Files
deb-python-tempest-lib/tools/pretty_tox.sh
Matthew Treinish dd266f725d Add pretty_tox.sh wrapper script to use subunit-trace
This commit adds a pretty_tox.sh wrapper script for the tempest-lib
unit tests to use subunit-trace when running the tests. This should
make the output a bit more clear and help with future debugging.

Change-Id: I48d670353bb85f7f87a05041bed60ad131555057
2014-12-04 20:59:27 +00:00

7 lines
157 B
Bash
Executable File

#!/usr/bin/env bash
set -o pipefail
TESTRARGS=$1
python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace --no-failure-debug -f