[Lldb-commits] [lldb] r249601 - Fix a test that should only be run with a dSYM file by adding @skipIfDwarf and using a new @skipIfDWO.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 7 13:01:14 PDT 2015
Author: gclayton
Date: Wed Oct 7 15:01:13 2015
New Revision: 249601
URL: http://llvm.org/viewvc/llvm-project?rev=249601&view=rev
Log:
Fix a test that should only be run with a dSYM file by adding @skipIfDwarf and using a new @skipIfDWO.
Modified:
lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py?rev=249601&r1=249600&r2=249601&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py (original)
+++ lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py Wed Oct 7 15:01:13 2015
@@ -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"""
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=249601&r1=249600&r2=249601&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Wed Oct 7 15:01:13 2015
@@ -1099,6 +1099,9 @@ def skipIf(bugnumber=None, oslist=None,
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"])
More information about the lldb-commits
mailing list