[Lldb-commits] [lldb] r161130 - /lldb/trunk/test/lldbtest.py

Johnny Chen johnny.chen at apple.com
Wed Aug 1 12:56:04 PDT 2012


Author: johnny
Date: Wed Aug  1 14:56:04 2012
New Revision: 161130

URL: http://llvm.org/viewvc/llvm-project?rev=161130&view=rev
Log:
Silence the "Command ... failed!" message when not running in trace mode.
You run with trace mode by passing '-t' to the test driver.

Modified:
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=161130&r1=161129&r2=161130&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Wed Aug  1 14:56:04 2012
@@ -1070,7 +1070,7 @@
             elif running:
                 # For process launch, wait some time before possible next try.
                 time.sleep(self.timeWaitNextLaunch)
-                with recording(self, True) as sbuf:
+                with recording(self, trace) as sbuf:
                     print >> sbuf, "Command '" + cmd + "' failed!"
 
         if check:





More information about the lldb-commits mailing list