forked from OSchip/llvm-project
Fix a test that should only be run with a dSYM file by adding @skipIfDwarf and using a new @skipIfDWO.
llvm-svn: 249601
This commit is contained in:
parent
37191a2c2d
commit
edea2371f3
|
@ -18,6 +18,8 @@ class TestObjCIvarStripped(TestBase):
|
|||
self.stop_line = line_number(self.main_source, '// Set breakpoint here.')
|
||||
|
||||
@skipUnlessDarwin
|
||||
@skipIfDwarf # This test requires a stripped binary and a dSYM
|
||||
@skipIfDWO # This test requires a stripped binary and a dSYM
|
||||
@python_api_test
|
||||
def test_with_python_api(self):
|
||||
"""Test that we can find stripped Objective-C ivars in the runtime"""
|
||||
|
|
|
@ -1099,6 +1099,9 @@ def skipIf(bugnumber=None, oslist=None, compiler=None, compiler_version=None, ar
|
|||
def skipIfDebugInfo(bugnumber=None, debug_info=None):
|
||||
return skipIf(bugnumber=bugnumber, debug_info=debug_info)
|
||||
|
||||
def skipIfDWO(bugnumber=None):
|
||||
return skipIfDebugInfo(bugnumber, ["dwo"])
|
||||
|
||||
def skipIfDwarf(bugnumber=None):
|
||||
return skipIfDebugInfo(bugnumber, ["dwarf"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue