Pass OS_DEBUG to the tox test environment
The StandardLogging fixture defaults to log level INFO and has the ability to log at level DEBUG if the OS_DEBUG environment variable is set to a true value. Let tox copy OS_DEBUG to the test environment to allow debug log capture for a command line like: OS_DEBUG=True tox -epy27 Change-Id: Ibe51653f652c99aee56f702be571130cbb7f913d
This commit is contained in:
parent
cd95c6527a
commit
c19dd499f0
2
tox.ini
2
tox.ini
@ -18,7 +18,7 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
bash tools/pretty_tox.sh '{posargs}'
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_DEBUG
|
||||
# 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…
x
Reference in New Issue
Block a user