From d6a241bd0c58ebb67757b049b393612d7ed3fe8e Mon Sep 17 00:00:00 2001 From: JUN JIE NAN Date: Mon, 30 Sep 2013 15:56:33 +0800 Subject: [PATCH] Using python to run testr instead So tox will not report bash is not installed in testenv. Fixes bug #1233024 Change-Id: Ifed717df51340b2834f2f0522125a842495dcdda --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index f5dbbf1c..5cd30838 100644 --- a/tox.ini +++ b/tox.ini @@ -7,8 +7,7 @@ setenv = LANG=en_US.UTF-8 LC_ALL=C deps= -r{toxinidir}/test-requirements.txt commands= - bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' - bash -c 'testr run --parallel {posargs} ; RET=$?; echo "Slowest Tests" ; testr slowest && exit $RET' + python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] commands =