From 43b36a424055e28b9fc101be7c2706f0396af9e3 Mon Sep 17 00:00:00 2001 From: melanie witt Date: Thu, 8 Sep 2016 23:45:41 +0000 Subject: [PATCH] Pass GENERATE_HASHES to the tox test environment When bumping nova object versions, it's necessary to generate new hashes for those that have changed. New hashes are generated when the GENERATE_HASHES environment variable is set. Let tox copy GENERATE_HASHES to the test environment to allow object hash generation for a command line like: GENERATE_HASHES=1 tox -epy27 Change-Id: Id652a7a9fbaeaf35db06744cbaf2484504fc2531 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6328399c0f68..4d79799c6e02 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ deps = -r{toxinidir}/test-requirements.txt commands = py27: bash tools/pretty_tox.sh '{posargs}' py{34,35}: bash tools/pretty_tox3.sh '{posargs}' -passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEBUG +passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEBUG GENERATE_HASHES # there is also secret magic in pretty_tox.sh which lets you run in a fail only # mode. To do this define the TRACE_FAILONLY environmental variable.