feb98a83b9
tools/pretty_tox.sh should be marked as executable, this patch just 'chmod +x' to it. Closes-Bug: 1486313 Change-Id: Ia5fa921e83da1e094970b1e44c9709272c7e32d3
13 lines
326 B
Bash
Executable File
13 lines
326 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=$1
|
|
python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace -f
|
|
retval=$?
|
|
# NOTE(mtreinish) The pipe above would eat the slowest display from pbr's testr
|
|
# wrapper so just manually print the slowest tests.
|
|
echo -e "\nSlowest Tests:\n"
|
|
testr slowest
|
|
exit $retval
|