summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-04-13 00:23:26 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-04-13 00:23:26 +0000
commit18104239b4fc99ebbb808b12abeae5ef26bf9f36 (patch)
treedc0d8e5544e52577af3910e57b05c5384dd07f7d
parentce7d345a575734fe02769ac47b87d59053650bd2 (diff)
downloadbcm5719-llvm-18104239b4fc99ebbb808b12abeae5ef26bf9f36.tar.gz
bcm5719-llvm-18104239b4fc99ebbb808b12abeae5ef26bf9f36.zip
Ditto 'requires modern objc runtime' for TestRealDefinition.py -- fix test suite errors for i386.
llvm-svn: 154638
-rw-r--r--lldb/test/lang/objc/real-definition/TestRealDefinition.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/test/lang/objc/real-definition/TestRealDefinition.py b/lldb/test/lang/objc/real-definition/TestRealDefinition.py
index 4272147a413..13ad34a5eb3 100644
--- a/lldb/test/lang/objc/real-definition/TestRealDefinition.py
+++ b/lldb/test/lang/objc/real-definition/TestRealDefinition.py
@@ -9,27 +9,39 @@ class TestRealDefinition(TestBase):
mydir = os.path.join("lang", "objc", "real-definition")
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
def test_frame_var_after_stop_at_interface_with_dsym(self):
"""Test that we can find the implementation for an objective C type"""
+ if self.getArchitecture() == 'i386':
+ self.skipTest("requires modern objc runtime")
self.buildDsym()
self.stop_at_interface()
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dwarf_test
def test_frame_var_after_stop_at_interface_with_dwarf(self):
"""Test that we can find the implementation for an objective C type"""
+ if self.getArchitecture() == 'i386':
+ self.skipTest("requires modern objc runtime")
self.buildDwarf()
self.stop_at_interface()
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
def test_frame_var_after_stop_at_implementation_with_dsym(self):
"""Test that we can find the implementation for an objective C type"""
+ if self.getArchitecture() == 'i386':
+ self.skipTest("requires modern objc runtime")
self.buildDsym()
self.stop_at_implementation()
+ @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dwarf_test
def test_frame_var_after_stop_at_implementation_with_dwarf(self):
"""Test that we can find the implementation for an objective C type"""
+ if self.getArchitecture() == 'i386':
+ self.skipTest("requires modern objc runtime")
self.buildDwarf()
self.stop_at_implementation()
OpenPOWER on IntegriCloud