[Lldb-commits] [lldb] r154638 - /lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py
Johnny Chen
johnny.chen at apple.com
Thu Apr 12 17:23:27 PDT 2012
Author: johnny
Date: Thu Apr 12 19:23:26 2012
New Revision: 154638
URL: http://llvm.org/viewvc/llvm-project?rev=154638&view=rev
Log:
Ditto 'requires modern objc runtime' for TestRealDefinition.py -- fix test suite errors for i386.
Modified:
lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py
Modified: lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py?rev=154638&r1=154637&r2=154638&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py (original)
+++ lldb/trunk/test/lang/objc/real-definition/TestRealDefinition.py Thu Apr 12 19:23:26 2012
@@ -9,27 +9,39 @@
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()
More information about the lldb-commits
mailing list