Forgo the selector test on i386, where we can't

test whether an object responds to a selector
from outside the process.

llvm-svn: 155504
This commit is contained in:
Sean Callanan 2012-04-24 23:31:54 +00:00
parent 72546f01d3
commit dfc066d274
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@ class ObjCCheckerTestCase(TestBase):
@dsym_test
def test_objc_checker_with_dsym(self):
"""Test that checkers catch unrecognized selectors"""
if self.getArchitecture() == 'i386':
self.skipTest("requires Objective-C 2.0 runtime")
self.buildDsym()
self.do_test_checkers()
@ -24,6 +26,8 @@ class ObjCCheckerTestCase(TestBase):
@dwarf_test
def test_objc_checker_with_dwarf(self):
"""Test that checkers catch unrecognized selectors"""
if self.getArchitecture() == 'i386':
self.skipTest("requires Objective-C 2.0 runtime")
self.buildDwarf()
self.do_test_checkers()