[Lldb-commits] [lldb] r129880 - in /lldb/trunk/test: command_regex/TestCommandRegex.py stop-hook/TestStopHook.py

Johnny Chen johnny.chen at apple.com
Wed Apr 20 15:01:48 PDT 2011


Author: johnny
Date: Wed Apr 20 17:01:48 2011
New Revision: 129880

URL: http://llvm.org/viewvc/llvm-project?rev=129880&view=rev
Log:
Use self.TraceOn() API.

Modified:
    lldb/trunk/test/command_regex/TestCommandRegex.py
    lldb/trunk/test/stop-hook/TestStopHook.py

Modified: lldb/trunk/test/command_regex/TestCommandRegex.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/command_regex/TestCommandRegex.py?rev=129880&r1=129879&r2=129880&view=diff
==============================================================================
--- lldb/trunk/test/command_regex/TestCommandRegex.py (original)
+++ lldb/trunk/test/command_regex/TestCommandRegex.py Wed Apr 20 17:01:48 2011
@@ -20,7 +20,7 @@
 
         child = pexpect.spawn('%s' % self.lldbExec)
         # Turn on logging for what the child sends back.
-        if traceAlways:
+        if self.TraceOn():
             child.logfile_read = sys.stdout
 
         # Set the breakpoint, followed by the target stop-hook commands.

Modified: lldb/trunk/test/stop-hook/TestStopHook.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/stop-hook/TestStopHook.py?rev=129880&r1=129879&r2=129880&view=diff
==============================================================================
--- lldb/trunk/test/stop-hook/TestStopHook.py (original)
+++ lldb/trunk/test/stop-hook/TestStopHook.py Wed Apr 20 17:01:48 2011
@@ -40,7 +40,7 @@
 
         child = pexpect.spawn('%s %s' % (self.lldbExec, exe))
         # Turn on logging for what the child sends back.
-        if traceAlways:
+        if self.TraceOn():
             child.logfile_read = sys.stdout
 
         # Set the breakpoint, followed by the target stop-hook commands.





More information about the lldb-commits mailing list