Author: Jonas Devlieghere Date: 2026-06-30T18:53:22-07:00 New Revision: 76c92ec7aeede1b31f70a0aa1e75295ad9782cf1
URL: https://github.com/llvm/llvm-project/commit/76c92ec7aeede1b31f70a0aa1e75295ad9782cf1 DIFF: https://github.com/llvm/llvm-project/commit/76c92ec7aeede1b31f70a0aa1e75295ad9782cf1.diff LOG: [lldb][test] Skip more unsupported tests on WebAssembly (#206857) These tests exercise functionality that WebAssembly does not provide, so they cannot pass under the Wasm test configuration. The reasons vary by test, captured by a short inline comment. Skip them with @skipIfWasm (and @skipIfNoSignals for the SIGINT test) so the suite reflects real failures. Added: Modified: lldb/test/API/commands/platform/basic/TestPlatformPython.py lldb/test/API/commands/platform/connect/TestPlatformConnect.py lldb/test/API/commands/platform/launchgdbserver/TestPlatformLaunchGDBServer.py lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py lldb/test/API/commands/process/reverse-continue/TestReverseContinue.py lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py lldb/test/API/driver/batch_mode/TestBatchMode.py lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py lldb/test/API/functionalities/breakpoint/hardware_breakpoints/simple_hw_breakpoints/TestSimpleHWBreakpoints.py lldb/test/API/functionalities/completion/TestCompletion.py lldb/test/API/functionalities/gdb_remote_client/TestDynamicLoaderDarwin.py lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py lldb/test/API/macosx/mte/TestDarwinMTE.py lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py lldb/test/API/python_api/sbplatform/TestSBPlatform.py lldb/test/API/qemu/TestQemuLaunch.py lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py Removed: ################################################################################ diff --git a/lldb/test/API/commands/platform/basic/TestPlatformPython.py b/lldb/test/API/commands/platform/basic/TestPlatformPython.py index 4252a7b375477..56397e330d083 100644 --- a/lldb/test/API/commands/platform/basic/TestPlatformPython.py +++ b/lldb/test/API/commands/platform/basic/TestPlatformPython.py @@ -9,6 +9,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # platform shell needs a connected remote class PlatformPythonTestCase(TestBase): @add_test_categories(["pyapi"]) @no_debug_info_test diff --git a/lldb/test/API/commands/platform/connect/TestPlatformConnect.py b/lldb/test/API/commands/platform/connect/TestPlatformConnect.py index 3f8d81c3ab897..e971dc135487d 100644 --- a/lldb/test/API/commands/platform/connect/TestPlatformConnect.py +++ b/lldb/test/API/commands/platform/connect/TestPlatformConnect.py @@ -6,6 +6,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no remote platform to connect to class TestPlatformProcessConnect(TestBase): NO_DEBUG_INFO_TESTCASE = True SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/commands/platform/launchgdbserver/TestPlatformLaunchGDBServer.py b/lldb/test/API/commands/platform/launchgdbserver/TestPlatformLaunchGDBServer.py index e9e6845c0f549..5d318e8d8bd20 100644 --- a/lldb/test/API/commands/platform/launchgdbserver/TestPlatformLaunchGDBServer.py +++ b/lldb/test/API/commands/platform/launchgdbserver/TestPlatformLaunchGDBServer.py @@ -7,6 +7,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # cannot launch a gdbserver class TestPlatformProcessLaunchGDBServer(TestBase): NO_DEBUG_INFO_TESTCASE = True SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py b/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py index a7f8b38649b22..8362945ee6c80 100644 --- a/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py +++ b/lldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py @@ -10,6 +10,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no host shell to expand arguments class LaunchWithShellExpandTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/commands/process/reverse-continue/TestReverseContinue.py b/lldb/test/API/commands/process/reverse-continue/TestReverseContinue.py index c04d2b9d4b5a5..aba0ac7e6a765 100644 --- a/lldb/test/API/commands/process/reverse-continue/TestReverseContinue.py +++ b/lldb/test/API/commands/process/reverse-continue/TestReverseContinue.py @@ -11,6 +11,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no reverse execution class TestReverseContinue(ReverseTestBase): @skipIfRemote def test_reverse_continue(self): diff --git a/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py b/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py index 47bbd2439434c..f0bb450fb65e6 100644 --- a/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py +++ b/lldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py @@ -11,6 +11,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no remote platform to auto-install onto class TestAutoInstallMainExecutable(TestBase): NO_DEBUG_INFO_TESTCASE = True SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/driver/batch_mode/TestBatchMode.py b/lldb/test/API/driver/batch_mode/TestBatchMode.py index aa03918cd7b2b..47822b81b61e7 100644 --- a/lldb/test/API/driver/batch_mode/TestBatchMode.py +++ b/lldb/test/API/driver/batch_mode/TestBatchMode.py @@ -11,6 +11,7 @@ from lldbsuite.test.lldbpexpect import PExpectTest +@skipIfWasm # driver cannot launch a Wasm inferior class DriverBatchModeTest(PExpectTest): source = "main.c" diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py index d9029f0ac2933..223e7021f9273 100644 --- a/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py +++ b/lldb/test/API/functionalities/breakpoint/breakpoint_conditions/crashing_condition/TestCrashingCondition.py @@ -5,9 +5,11 @@ import lldb import lldbsuite.test.lldbutil as lldbutil +from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * +@skipIfWasm # no expression evaluation class TestCrashingCondition(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py index 2d5da3f672729..d01099ccdfe6f 100644 --- a/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py @@ -6,6 +6,7 @@ @skipIfWindowsAndNoLLDBServer +@skipIfWasm # iwasm gdb stub lacks the needed packets class TestDelayedBreakpoint(TestBase): def test(self): self.build() diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py index a8c9cdeea9362..fdea67fe18bc1 100644 --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py @@ -14,6 +14,7 @@ from functionalities.breakpoint.hardware_breakpoints.base import * +@skipIfWasm # no hardware breakpoints class BreakpointLocationsTestCase(HardwareBreakpointTestBase): def test_breakpoint(self): """Test regular breakpoints when hardware breakpoints are required.""" diff --git a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/simple_hw_breakpoints/TestSimpleHWBreakpoints.py b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/simple_hw_breakpoints/TestSimpleHWBreakpoints.py index acf75df6711cd..9ea578f038a41 100644 --- a/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/simple_hw_breakpoints/TestSimpleHWBreakpoints.py +++ b/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/simple_hw_breakpoints/TestSimpleHWBreakpoints.py @@ -6,6 +6,7 @@ from functionalities.breakpoint.hardware_breakpoints.base import * +@skipIfWasm # no hardware breakpoints class SimpleHWBreakpointTest(HardwareBreakpointTestBase): @skipTestIfFn(HardwareBreakpointTestBase.hw_breakpoints_unsupported) def test(self): diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py index aecfce2c58a27..f4bdc3a894215 100644 --- a/lldb/test/API/functionalities/completion/TestCompletion.py +++ b/lldb/test/API/functionalities/completion/TestCompletion.py @@ -12,6 +12,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # driver cannot launch a Wasm inferior class CommandLineCompletionTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestDynamicLoaderDarwin.py b/lldb/test/API/functionalities/gdb_remote_client/TestDynamicLoaderDarwin.py index 16c9129601bb9..a5800256f45f6 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestDynamicLoaderDarwin.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestDynamicLoaderDarwin.py @@ -91,6 +91,7 @@ arm64_binary = "cffaedfe0c000001000000000200000010000000e8020000850020000000000019000000480000005f5f504147455a45524f00000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000019000000e80000005f5f54455854000000000000000000000000000001000000004000000000000000000000000000000040000000000000050000000500000002000000000000005f5f74657874000000000000000000005f5f5445585400000000000000000000b03f0000010000000800000000000000b03f0000020000000000000000000000000400800000000000000000000000005f5f756e77696e645f696e666f0000005f5f5445585400000000000000000000b83f0000010000004800000000000000b83f00000200000000000000000000000000000000000000000000000000000019000000480000005f5f4c494e4b45444954000000000000004000000100000000400000000000000040000000000000b8010000000000000100000001000000000000000000000034000080100000000040000038000000330000801000000038400000300000000200000018000000704000000100000080400000180000000b000000500000000000000000000000000000000100000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e000000200000000c0000002f7573722f6c69622f64796c64000000000000001b00000018000000a9981092eb3632f4afd9957e769160d932000000200000000100000000000c0000050c000100000003000000000633032a0000001000000000000000000000002800008018000000b03f00000000000000000000000000000c00000038000000180000000200000001781f05000001002f7573722f6c69622f6c696253797374656d2e422e64796c696200000000000026000000100000006840000008000000290000001000000070400000000000001d00000010000000a04000001801" +@skipIfWasm # exercises the Darwin dynamic loader class TestDynamicLoaderDarwin(GDBRemoteTestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py b/lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py index c61ae15b9dda7..ddcc9fb134951 100644 --- a/lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py +++ b/lldb/test/API/functionalities/memory/holes/TestMemoryHoles.py @@ -9,6 +9,7 @@ from lldbsuite.test.decorators import * +@skipIfWasm # WASI has no mmap class MemoryHolesTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py index a083ad1294b65..97565d8e59e83 100644 --- a/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py +++ b/lldb/test/API/functionalities/module_cache/simple_exe/TestModuleCacheSimple.py @@ -9,6 +9,7 @@ import time +@skipIfWasm # modules carry no build ID to cache on class ModuleCacheTestcaseSimple(TestBase): SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py b/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py index 53c8cdd4540a2..d177d52f43ce0 100644 --- a/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py +++ b/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py @@ -8,6 +8,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no reverse execution class TestReverseContinueBreakpoints(ReverseTestBase): @skipIfRemote def test_reverse_continue(self): diff --git a/lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py b/lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py index 38cf5fced4944..0e080c8fc1940 100644 --- a/lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py +++ b/lldb/test/API/functionalities/reverse-execution/TestReverseContinueWatchpoints.py @@ -8,6 +8,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no reverse execution class TestReverseContinueWatchpoints(ReverseTestBase): @skipIfRemote # Watchpoints don't work in single-step mode diff --git a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py index c356289ee316b..6d53aa4449b93 100644 --- a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py +++ b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/TestAmbiguousTailCallSeq1.py @@ -3,6 +3,7 @@ decorators = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), ] lldbinline.MakeInlineTest( diff --git a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py index 34d521250f19e..37f015538813e 100644 --- a/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py +++ b/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/TestAmbiguousTailCallSeq2.py @@ -3,6 +3,7 @@ decorators = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), ] lldbinline.MakeInlineTest( diff --git a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py index b652fb895210b..c91c86a24f928 100644 --- a/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py @@ -7,6 +7,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no unwinder support for tail-call frames class TestCrossObjectTailCalls(TestBase): @skipIf(compiler="clang", compiler_version=["<", "22.0"]) @skipIf(dwarf_version=["<", "4"]) diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py b/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py index 8799b1287c2c6..5e0a048ed4b9e 100644 --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_call_site/TestDisambiguateCallSite.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), ] diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py b/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py index 9833a889be4dd..93b317af5e863 100644 --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_paths_to_common_sink/TestDisambiguatePathsToCommonSink.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), ] diff --git a/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py b/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py index c92c172ef25a8..c52abf49ca42f 100644 --- a/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py +++ b/lldb/test/API/functionalities/tail_call_frames/disambiguate_tail_call_seq/TestDisambiguateTailCallSeq.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), ] diff --git a/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py index 05bb25617b2d9..8382870044bb6 100644 --- a/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/inlining_and_tail_calls/TestInliningAndTailCalls.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), ] diff --git a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py index fa913883ba617..4c1649d603615 100644 --- a/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py +++ b/lldb/test/API/functionalities/tail_call_frames/sbapi_support/TestTailCallFrameSBAPI.py @@ -8,6 +8,7 @@ from lldbsuite.test.lldbtest import * +@skipIfWasm # no unwinder support for tail-call frames class TestTailCallFrameSBAPI(TestBase): @skipIf(compiler="clang", compiler_version=["<", "10.0"]) @skipIf(dwarf_version=["<", "4"]) diff --git a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py index 0b4c906ca9430..13482b58ae7c9 100644 --- a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py +++ b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_message/TestArtificialFrameStepOutMessage.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), ] diff --git a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py index 72fcefd7017f4..b3625398ccf33 100644 --- a/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py +++ b/lldb/test/API/functionalities/tail_call_frames/thread_step_out_or_return/TestSteppingOutWithArtificialFrames.py @@ -8,6 +8,7 @@ from lldbsuite.test.lldbtest import * +@skipIfWasm # no unwinder support for tail-call frames class TestArtificialFrameThreadStepOut1(TestBase): # If your test case doesn't stress debug info, then # set this to true. That way it won't be run once for diff --git a/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py b/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py index baa9c6906d1da..c37279be0c41f 100644 --- a/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py +++ b/lldb/test/API/functionalities/tail_call_frames/unambiguous_sequence/TestUnambiguousTailCalls.py @@ -3,6 +3,7 @@ decor = [ decorators.skipUnlessHasCallSiteInfo, + decorators.skipIfWasm, # no unwinder support for tail-call frames decorators.skipIf(archs=["arm$"], oslist=["linux"]), decorators.skipIf(dwarf_version=["<", "4"]), decorators.skipIf(compiler="clang", compiler_version=["<", "11.0"]), diff --git a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py index 7ae122db1614c..3e9733f403f96 100644 --- a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py +++ b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py @@ -10,6 +10,7 @@ from lldbsuite.test.lldbpexpect import PExpectTest +@skipIfNoSignals # no signal support class TestCase(PExpectTest): SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py index 9dad2480e1350..7b5417b60040b 100644 --- a/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py +++ b/lldb/test/API/lang/cpp/default-template-args/TestDefaultTemplateArgs.py @@ -8,6 +8,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no expression evaluation class TestDefaultTemplateArgs(TestBase): @no_debug_info_test def test(self): diff --git a/lldb/test/API/macosx/mte/TestDarwinMTE.py b/lldb/test/API/macosx/mte/TestDarwinMTE.py index 4280e8058266a..d51c400922ab7 100644 --- a/lldb/test/API/macosx/mte/TestDarwinMTE.py +++ b/lldb/test/API/macosx/mte/TestDarwinMTE.py @@ -11,6 +11,7 @@ exe_name = "uaf" # Must match Makefile +@skipIfWasm # memory tagging is a Darwin AArch64 feature class TestDarwinMTE(TestBase): SHARED_BUILD_TESTCASE = False NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py index cd76d875e67d0..b201d7b71b7eb 100644 --- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py +++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py @@ -12,6 +12,7 @@ import time +@skipIfWasm # modules carry no build ID to cache on class GlobalModuleCacheTestCase(TestBase): SHARED_BUILD_TESTCASE = False # NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py index d51ef339b1286..7799693873bd5 100644 --- a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py +++ b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py @@ -8,6 +8,7 @@ from lldbsuite.test import lldbutil +@skipIfWasm # no remote environment support class SBEnvironmentAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py index e23ef8c073c35..3c3e268af35eb 100644 --- a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py +++ b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py @@ -4,6 +4,7 @@ from lldbsuite.test.lldbtest import * +@skipIfWasm # no remote platform file/process APIs class SBPlatformAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/qemu/TestQemuLaunch.py b/lldb/test/API/qemu/TestQemuLaunch.py index d465aed875a0a..5d9432f5aff5d 100644 --- a/lldb/test/API/qemu/TestQemuLaunch.py +++ b/lldb/test/API/qemu/TestQemuLaunch.py @@ -14,6 +14,7 @@ @skipIfRemote @skipIfWindows @skipIf(archs=["arm64e"]) +@skipIfWasm # no qemu-wasm32 class TestQemuLaunch(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py index 94e7fd63ccad8..8e8fea5f65b4b 100644 --- a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py +++ b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py @@ -15,6 +15,7 @@ # Often fails on Arm Linux, but not specifically because it's Arm, something in # process scheduling can cause a massive (minutes) delay during this test. @skipIf(oslist=["linux"], archs=["arm$"]) +@skipIfWasm # no attach support class TestDAP_attach(lldbdap_testcase.DAPTestCaseBase): SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py b/lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py index 544b1dbc06da3..2c0b9c5f6e07f 100644 --- a/lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py +++ b/lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py @@ -11,6 +11,7 @@ import os +@skipIfWasm # inferior built without exception support class TestDAP_setBreakpoints(lldbdap_testcase.DAPTestCaseBase): SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py b/lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py index de7ace66633d7..b26618df7800c 100644 --- a/lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py +++ b/lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py @@ -7,6 +7,7 @@ import lldbdap_testcase +@skipIfWasm # data breakpoints map to watchpoints class TestDAP_setDataBreakpoints(lldbdap_testcase.DAPTestCaseBase): def setUp(self): lldbdap_testcase.DAPTestCaseBase.setUp(self) diff --git a/lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py b/lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py index 3a4bc62fc6872..972c0fa46df06 100644 --- a/lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py +++ b/lldb/test/API/tools/lldb-dap/disconnect/TestDAP_disconnect.py @@ -11,6 +11,7 @@ import os +@skipIfWasm # no attach support class TestDAP_disconnect(lldbdap_testcase.DAPTestCaseBase): SHARED_BUILD_TESTCASE = False _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
