[Lldb-commits] [lldb] 3abc292 - [lldb/Test] Move @skipIfAsan from test class to test methods.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 6 09:53:15 PST 2020
Author: Jonas Devlieghere
Date: 2020-01-06T09:53:06-08:00
New Revision: 3abc2927cb2372349fbbc0b62382c85d7d000f2c
URL: https://github.com/llvm/llvm-project/commit/3abc2927cb2372349fbbc0b62382c85d7d000f2c
DIFF: https://github.com/llvm/llvm-project/commit/3abc2927cb2372349fbbc0b62382c85d7d000f2c.diff
LOG: [lldb/Test] Move @skipIfAsan from test class to test methods.
skipTestIfFn can only be used to decorate a test method.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
index d297349509d2..9e39a735f8bd 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestFoundationDisassembly.py
@@ -11,13 +11,13 @@
@skipUnlessDarwin
- at skipIfAsan
class FoundationDisassembleTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
+ @skipIfAsan
def test_foundation_disasm(self):
"""Do 'disassemble -n func' on each and every 'Code' symbol entry from the Foundation.framework."""
self.build()
@@ -63,6 +63,7 @@ def test_foundation_disasm(self):
self.runCmd('image lookup -s "%s"' % func)
self.runCmd('disassemble -n "%s"' % func)
+ @skipIfAsan
def test_simple_disasm(self):
"""Test the lldb 'disassemble' command"""
self.build()
More information about the lldb-commits
mailing list