Skip to content
Snippets Groups Projects
Commit ab254f5d authored by Johnny Chen's avatar Johnny Chen
Browse files

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
parent f28cc038
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment