forked from OSchip/llvm-project
[lldb/Test] Move @skipIfAsan from test class to test methods.
skipTestIfFn can only be used to decorate a test method.
This commit is contained in:
parent
896b84ac2c
commit
3abc2927cb
|
@ -11,13 +11,13 @@ from lldbsuite.test import lldbutil
|
|||
|
||||
|
||||
@skipUnlessDarwin
|
||||
@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 @@ class FoundationDisassembleTestCase(TestBase):
|
|||
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()
|
||||
|
|
Loading…
Reference in New Issue