summaryrefslogtreecommitdiff
path: root/tools/pretty_tox.sh
blob: b9fd556c8769fb490b5fedc70de08db1026ab457 (plain)
1
2
3
4
5
6
7
8
9
10
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