summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-02-06 21:11:17 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-02-06 21:11:17 +0000
commita2791f8aeb2ea2b439c7a8cbb4bd2fe781f21c34 (patch)
treee663b0d862f7c6959f7ead553f92f58b7350c27f
parent3397e7cd224a5651656ee78245bec7cfd8c896ed (diff)
downloadbcm5719-llvm-a2791f8aeb2ea2b439c7a8cbb4bd2fe781f21c34.tar.gz
bcm5719-llvm-a2791f8aeb2ea2b439c7a8cbb4bd2fe781f21c34.zip
Special build dictionary needs the same dictionary when specifying the after-the-test cleanup.
llvm-svn: 149900
-rw-r--r--lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py
index 31bb1afad46..8d229b3b378 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):
OpenPOWER on IntegriCloud