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 -@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() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits