Special build dictionary needs the same dictionary when specifying the after-the-test cleanup.

llvm-svn: 149900
This commit is contained in:
Johnny Chen 2012-02-06 21:11:17 +00:00
parent 3397e7cd22
commit a2791f8aeb
1 changed files with 4 additions and 0 deletions

View File

@ -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):