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

Johnny Chen johnny.chen at apple.com
Fri Oct 15 17:08:49 PDT 2010


Author: johnny
Date: Fri Oct 15 19:08:49 2010
New Revision: 116649

URL: http://llvm.org/viewvc/llvm-project?rev=116649&view=rev
Log:
Missed this spot where module.cleanup() can be passed a test instance to
facilitate session recording.  This happens inside an instance method where the
test instance is well known.

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=116649&r1=116648&r2=116649&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Oct 15 19:08:49 2010
@@ -458,7 +458,7 @@
         # Perform registered teardown cleanup.
         if doCleanup and self.doTearDownCleanup:
             module = __import__(sys.platform)
-            if not module.cleanup(dictionary=self.dict):
+            if not module.cleanup(self, dictionary=self.dict):
                 raise Exception("Don't know how to do cleanup")
 
         # See also LLDBTestResult (dotest.py) which is a singlton class derived





More information about the lldb-commits mailing list