[Lldb-commits] [lldb] r118285 - /lldb/trunk/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Fri Nov 5 11:10:11 PDT 2010
Author: johnny
Date: Fri Nov 5 13:10:11 2010
New Revision: 118285
URL: http://llvm.org/viewvc/llvm-project?rev=118285&view=rev
Log:
Fix comments.
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=118285&r1=118284&r2=118285&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Nov 5 13:10:11 2010
@@ -498,7 +498,7 @@
self.hooks = []
def markError(self):
- """Callback invoked when we (the test case instance) errored."""
+ """Callback invoked when an error (unexpected exception) errored."""
self.__errored__ = True
with recording(self, False) as sbuf:
# False because there's no need to write "ERROR" to the stderr twice.
@@ -506,7 +506,7 @@
print >> sbuf, "ERROR"
def markFailure(self):
- """Callback invoked when we (the test case instance) failed."""
+ """Callback invoked when a failure (test assertion failure) occurred."""
self.__failed__ = True
with recording(self, False) as sbuf:
# False because there's no need to write "FAIL" to the stderr twice.
@@ -609,7 +609,7 @@
if not module.cleanup(self, dictionary=self.dict):
raise Exception("Don't know how to do cleanup")
- # We always dump the session infos for failures/errors.
+ # Decide whether to dump the session info.
self.dumpSessionInfo()
def runCmd(self, cmd, msg=None, check=True, trace=False, setCookie=True):
More information about the lldb-commits
mailing list