From: Ihar Hrachyshka Date: Wed, 10 Jun 2015 11:10:54 +0000 (+0200) Subject: Actually allow to pass TRACE_FAILONLY to ostestr X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=eeacb95e65a749ce3a032246c36d10cad9df22b1;p=openstack-build%2Fneutron-build.git Actually allow to pass TRACE_FAILONLY to ostestr The comment below suggests to use TRACE_FAILONLY to fail quickly when running unit tests, while tox 2.0 does not allow to pass envvars from the cli caller unless they are explicitly mentioned in passenv= directive. Change-Id: I6861498e7609b0c21fad844009420ea9734e2352 --- diff --git a/tox.ini b/tox.ini index 8f9cf95dc..ab568012d 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} +passenv = TRACE_FAILONLY usedevelop = True install_command = pip install -U {opts} {packages} deps = -r{toxinidir}/requirements.txt