keystone/tools/pretty_tox.sh
Qiaowei Ren feb98a83b9 Add necessary executable permission
tools/pretty_tox.sh should be marked as executable, this patch
just 'chmod +x' to it.

Closes-Bug: 1486313
Change-Id: Ia5fa921e83da1e094970b1e44c9709272c7e32d3
2015-08-19 10:57:34 +08:00

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