[Lldb-commits] [lldb] r149900 - /lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py

Johnny Chen johnny.chen at apple.com
Mon Feb 6 13:11:17 PST 2012


Author: johnny
Date: Mon Feb  6 15:11:17 2012
New Revision: 149900

URL: http://llvm.org/viewvc/llvm-project?rev=149900&view=rev
Log:
Special build dictionary needs the same dictionary when specifying the after-the-test cleanup.

Modified:
    lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py

Modified: lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py?rev=149900&r1=149899&r2=149900&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py Mon Feb  6 15:11:17 2012
@@ -19,6 +19,7 @@
     def test_value_cast_with_dsym_and_virtual_inheritance(self):
         """Test SBValue::Cast(SBType) API for C++ types with virtual inheritance."""
         self.buildDsym(dictionary=self.d_virtual)
+        self.setTearDownCleanup(dictionary=self.d_virtual)
         self.do_sbvalue_cast(self.exe_name)
 
     # rdar://problem/10808472 SBValue::Cast test case is failing (virtual inheritance)
@@ -27,6 +28,7 @@
     def test_value_cast_with_dwarf_and_virtual_inheritance(self):
         """Test SBValue::Cast(SBType) API for C++ types with virtual inheritance."""
         self.buildDwarf(dictionary=self.d_virtual)
+        self.setTearDownCleanup(dictionary=self.d_virtual)
         self.do_sbvalue_cast(self.exe_name)
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@@ -34,12 +36,14 @@
     def test_value_cast_with_dsym_and_regular_inheritance(self):
         """Test SBValue::Cast(SBType) API for C++ types with regular inheritance."""
         self.buildDsym(dictionary=self.d_regular)
+        self.setTearDownCleanup(dictionary=self.d_regular)
         self.do_sbvalue_cast(self.exe_name)
 
     @python_api_test
     def test_value_cast_with_dwarf_and_regular_inheritance(self):
         """Test SBValue::Cast(SBType) API for C++ types with regular inheritance."""
         self.buildDwarf(dictionary=self.d_regular)
+        self.setTearDownCleanup(dictionary=self.d_regular)
         self.do_sbvalue_cast(self.exe_name)
 
     def setUp(self):





More information about the lldb-commits mailing list