From a2791f8aeb2ea2b439c7a8cbb4bd2fe781f21c34 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 6 Feb 2012 21:11:17 +0000 Subject: [PATCH] Special build dictionary needs the same dictionary when specifying the after-the-test cleanup. llvm-svn: 149900 --- lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py index 31bb1afad46b..8d229b3b378f 100644 --- a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py @@ -19,6 +19,7 @@ class CppValueCastTestCase(TestBase): 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 @@ class CppValueCastTestCase(TestBase): 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 @@ class CppValueCastTestCase(TestBase): 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):