diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-01-11 21:06:14 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-01-11 21:06:14 +0000 |
commit | b5956cbaee2fcfe1a179b00e9cb0b29aa0424270 (patch) | |
tree | 1571093dcae5d49d5e295dc8bb7e0ab1fe3c9476 /tools | |
parent | cfbe5c56340c0e4a3b18902d7e55bb18a45857ec (diff) | |
parent | efbb3887e0a976e9cea2ba59e359583a12f64e31 (diff) | |
download | oslo-db-b5956cbaee2fcfe1a179b00e9cb0b29aa0424270.tar.gz |
Merge "Add pretty_tox wrapper script"
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 + |