summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py2
-rw-r--r--lldb/test/lldbtest.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py b/lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
index 324744f2b5a..05cdc4d03dc 100644
--- a/lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
+++ b/lldb/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
@@ -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"""
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index efb678e22f3..2004d254408 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -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"])
OpenPOWER on IntegriCloud