[Lldb-commits] [lldb] r138458 - /lldb/trunk/test/functionalities/command_python/TestCommandPython.py

Johnny Chen johnny.chen at apple.com
Wed Aug 24 11:19:50 PDT 2011


Author: johnny
Date: Wed Aug 24 13:19:50 2011
New Revision: 138458

URL: http://llvm.org/viewvc/llvm-project?rev=138458&view=rev
Log:
Don't display the stdout if not in TraceOn(), i.e, '-t option, mode.

Modified:
    lldb/trunk/test/functionalities/command_python/TestCommandPython.py

Modified: lldb/trunk/test/functionalities/command_python/TestCommandPython.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/command_python/TestCommandPython.py?rev=138458&r1=138457&r2=138458&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/command_python/TestCommandPython.py (original)
+++ lldb/trunk/test/functionalities/command_python/TestCommandPython.py Wed Aug 24 13:19:50 2011
@@ -27,6 +27,10 @@
 
         self.runCmd("command source py_import")
 
+        # We don't want to display the stdout if not in TraceOn() mode.
+        if not self.TraceOn():
+            self.HideStdout()
+
         self.expect('welcome Enrico',
             substrs = ['Hello Enrico, welcome to LLDB']);
                 





More information about the lldb-commits mailing list