diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pretty_tox.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/pretty_tox.sh b/tools/pretty_tox.sh new file mode 100755 index 0000000..b9fd556 --- /dev/null +++ b/tools/pretty_tox.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# return nonzero exit status of rightmost command, so that we +# get nonzero exit on test failure without halting subunit-trace +set -o pipefail + + +TESTRARGS=$1 + +python setup.py testr --slowest --testr-args="--subunit $TESTRARGS" | subunit-trace -f + |