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

Johnny Chen johnny.chen at apple.com
Fri Oct 15 09:13:00 PDT 2010

Author: johnny
Date: Fri Oct 15 11:13:00 2010
New Revision: 116582

URL: http://llvm.org/viewvc/llvm-project?rev=116582&view=rev
Be more specific about cases whenthe runCmd() check flag is False, meaning there
is no need to check the return status of the command execution, and an error
status is not deemed a failure in the test.


Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=116582&r1=116581&r2=116582&view=diff
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Oct 15 11:13:00 2010
@@ -485,6 +485,8 @@
             with recording(self, trace) as sbuf:
                 print >> sbuf, "runCmd:", cmd
+                if not check:
+                    print >> sbuf, "checking of return status not required"
                 if self.res.Succeeded():
                     print >> sbuf, "output:", self.res.GetOutput()

More information about the lldb-commits mailing list