[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:
Jonas Devlieghere 2020-01-06 09:52:09 -08:00
parent 896b84ac2c
commit 3abc2927cb
1 changed files with 2 additions and 1 deletions

View File

@ -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()