[Lldb-commits] [lldb] r148602 - /lldb/trunk/test/functionalities/completion/TestCompletion.py

Johnny Chen johnny.chen at apple.com
Fri Jan 20 16:08:37 PST 2012


Author: johnny
Date: Fri Jan 20 18:08:37 2012
New Revision: 148602

URL: http://llvm.org/viewvc/llvm-project?rev=148602&view=rev
Log:
Add comment.

Modified:
    lldb/trunk/test/functionalities/completion/TestCompletion.py

Modified: lldb/trunk/test/functionalities/completion/TestCompletion.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/completion/TestCompletion.py?rev=148602&r1=148601&r2=148602&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/completion/TestCompletion.py (original)
+++ lldb/trunk/test/functionalities/completion/TestCompletion.py Fri Jan 20 18:08:37 2012
@@ -85,6 +85,10 @@
                 child.sendline('')
                 child.expect_exact(prompt)
 
+        # Set logfile to None to stop logging.
+        child.logfile_send = None
+        child.logfile_read = None
+        
         with open('child_send.txt', 'r') as fs:
             if self.TraceOn():
                 print "\n\nContents of child_send.txt:"
@@ -105,9 +109,6 @@
                 self.expect(from_child, msg=COMPLETIOND_MSG(str_input, p), exe=False,
                     patterns = [p])
 
-        child.logfile_send = None
-        child.logfile_read = None
-        
 
 if __name__ == '__main__':
     import atexit





More information about the lldb-commits mailing list