From 763f86acba59748e2fb0d5aecde318739b16971c Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Fri, 26 Feb 2010 09:34:54 -0800 Subject: [PATCH] test.py turns off NS_LOG locally --- test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test.py b/test.py index 81fa14b75..b82cf4d82 100755 --- a/test.py +++ b/test.py @@ -953,6 +953,14 @@ def run_tests(): read_waf_config() make_library_path() + # + # If lots of logging is enabled, we can crash Python when it tries to + # save all of the text. We just don't allow logging to be turned on when + # test.py runs. If you want to see logging output from your tests, you + # have to run them using the test-runner directly. + # + os.environ["NS_LOG"] = "" + # # There are a couple of options that imply we can to exit before starting # up a bunch of threads and running tests. Let's detect these cases and