e67ca803b9
Alters tox.ini to use testr rather than nosetests. Also, adds documentation on how to use tox to run a single functional test class. Change-Id: I1333ead397f338ee3da3d81b0e1de8e93283a2b5 Closes-Bug: #1490747
10 lines
212 B
Bash
10 lines
212 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -o pipefail
|
|
|
|
TESTRARGS=$1
|
|
python setup.py testr --testr-args="--subunit $TESTRARGS" | subunit-trace --no-failure-debug -f
|
|
retval=$?
|
|
echo -e "\nSlowest Tests:\n"
|
|
testr slowest
|
|
exit $retval |