diff --git a/tools/pretty_tox_no_concurrency.sh b/tools/pretty_tox_no_concurrency.sh new file mode 100755 index 000000000..d57a96efd --- /dev/null +++ b/tools/pretty_tox_no_concurrency.sh @@ -0,0 +1,6 @@ +#! /bin/sh + +TESTRARGS=$1 + +exec 3>&1 +status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--concurrency=1 --subunit $TESTRARGS"; echo $? >&4 ) | $(dirname $0)/subunit-trace.py -f) && exit $status diff --git a/tox.ini b/tox.ini index ab121b95f..89ecafb55 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,8 @@ commands = [testenv:fullstack] basepython = python2.7 setenv = OS_TEST_PATH=./dragonflow/tests/fullstack +commands = + sh tools/pretty_tox_no_concurrency.sh '{posargs}' [testenv:pep8] commands =