Default to not capturing log output in tests
Viewing log output while tests are still running can be useful for debugging, but log output was previously always captured. This change ensures that log capture is off by default, but can still be enabled by setting OS_LOG_CAPTURE=1 in the shell environment. testr invocation is unchanged and will continue to capture logs by default. Change-Id: I9d0fb648541280cacfebb47f67f608378ae66ef3
This commit is contained in:
parent
60bc053946
commit
0f2f4e2376
@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ neutron/tests/unit $LISTOPT $IDOPTION
|
||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_LOG_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ neutron/tests/unit $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
Loading…
Reference in New Issue
Block a user