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
This commit is contained in:
parent
092e98df6c
commit
43b36a4240
2
tox.ini
2
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user