[Lldb-commits] [lldb] r245836 - Fix teardown cleanup in TestRecursiveTypes

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 24 03:31:36 PDT 2015


Author: tberghammer
Date: Mon Aug 24 05:31:36 2015
New Revision: 245836

URL: http://llvm.org/viewvc/llvm-project?rev=245836&view=rev
Log:
Fix teardown cleanup in TestRecursiveTypes

Modified:
    lldb/trunk/test/types/TestRecursiveTypes.py

Modified: lldb/trunk/test/types/TestRecursiveTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/TestRecursiveTypes.py?rev=245836&r1=245835&r2=245836&view=diff
==============================================================================
--- lldb/trunk/test/types/TestRecursiveTypes.py (original)
+++ lldb/trunk/test/types/TestRecursiveTypes.py Mon Aug 24 05:31:36 2015
@@ -30,12 +30,14 @@ class RecursiveTypesTestCase(TestBase):
     def test_recursive_dsym_type_1(self):
         """Test that recursive structs are displayed correctly."""
         self.buildDsym(dictionary=self.d1)
+        self.setTearDownCleanup(dictionary=self.d1)
         self.print_struct()
 
     @dwarf_test
     def test_recursive_dwarf_type_1(self):
         """Test that recursive structs are displayed correctly."""
         self.buildDwarf(dictionary=self.d1)
+        self.setTearDownCleanup(dictionary=self.d1)
         self.print_struct()
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@@ -43,12 +45,14 @@ class RecursiveTypesTestCase(TestBase):
     def test_recursive_dsym_type_2(self):
         """Test that recursive structs are displayed correctly."""
         self.buildDsym(dictionary=self.d2)
+        self.setTearDownCleanup(dictionary=self.d2)
         self.print_struct()
 
     @dwarf_test
     def test_recursive_dwarf_type_2(self):
         """Test that recursive structs are displayed correctly."""
         self.buildDwarf(dictionary=self.d2)
+        self.setTearDownCleanup(dictionary=self.d2)
         self.print_struct()
 
     def print_struct(self):




More information about the lldb-commits mailing list