From ab254f5da4354a141025472f5e26b631c55a9be5 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 15 Oct 2010 16:13:00 +0000 Subject: [PATCH] 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. llvm-svn: 116582 --- lldb/test/lldbtest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index 43fd54e7b645..3954b56049ac 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -485,6 +485,8 @@ class TestBase(unittest2.TestCase): 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() else: -- GitLab