llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) <details> <summary>Changes</summary> This is a follow up to https://github.com/llvm/llvm-project/pull/212753 to convert all the tests to use the `@<!-- -->require` decorator. --- Patch is 35.33 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/213467.diff 40 Files Affected: - (modified) lldb/test/API/attach/TestWindowsAttachBreakpoint.py (+1-1) - (modified) lldb/test/API/driver/batch_mode/TestBatchMode.py (+1-1) - (modified) lldb/test/API/driver/longpath/TestLongPathDriver.py (+1-1) - (modified) lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py (+2-2) - (modified) lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py (+1-1) - (modified) lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py (+1-1) - (modified) lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py (+1-1) - (modified) lldb/test/API/python_api/exprpath_synthetic/TestExprPathSynthetic.py (+1-1) - (modified) lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py (+1-1) - (modified) lldb/test/API/python_api/hello_world/TestHelloWorld.py (+2-2) - (modified) lldb/test/API/python_api/process/address-masks/TestAddressMasks.py (+1-1) - (modified) lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py (+1-1) - (modified) lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py (+1-1) - (modified) lldb/test/API/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.py (+1-1) - (modified) lldb/test/API/python_api/sbplatform/TestSBPlatform.py (+1-1) - (modified) lldb/test/API/python_api/signals/TestSignalsAPI.py (+1-1) - (modified) lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py (+1-1) - (modified) lldb/test/API/python_api/unified_section_list/TestModuleUnifiedSectionList.py (+1-1) - (modified) lldb/test/API/qemu/TestQemuLaunch.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py (+5-5) - (modified) lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/TestLldbGdbServer.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/TestNonStop.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py (+3-3) - (modified) lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py (+1-1) - (modified) lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py (+8-8) - (modified) lldb/test/API/types/TestCharType.py (+2-2) - (modified) lldb/test/API/types/TestCharTypeExpr.py (+2-2) - (modified) lldb/test/API/types/TestDoubleTypes.py (+1-1) - (modified) lldb/test/API/types/TestDoubleTypesExpr.py (+1-1) - (modified) lldb/test/API/types/TestFloatTypes.py (+1-1) - (modified) lldb/test/API/types/TestFloatTypesExpr.py (+1-1) - (modified) lldb/test/API/types/TestIntegerType.py (+2-2) - (modified) lldb/test/API/types/TestIntegerTypeExpr.py (+3-3) - (modified) lldb/test/API/types/TestLongTypes.py (+4-4) - (modified) lldb/test/API/types/TestLongTypesExpr.py (+4-4) - (modified) lldb/test/API/types/TestShortType.py (+2-2) - (modified) lldb/test/API/types/TestShortTypeExpr.py (+2-2) ``````````diff diff --git a/lldb/test/API/attach/TestWindowsAttachBreakpoint.py b/lldb/test/API/attach/TestWindowsAttachBreakpoint.py index e40745c54bebf..83bc28e5f40c0 100644 --- a/lldb/test/API/attach/TestWindowsAttachBreakpoint.py +++ b/lldb/test/API/attach/TestWindowsAttachBreakpoint.py @@ -98,7 +98,7 @@ class PROCESS_INFORMATION(ctypes.Structure): process_information.hThread, ) - @skipUnlessWindows + @requireWindows def test_attach_ignores_loader_breakpoint(self): """ lldb must not report the loader's int3 (raised in a system module while diff --git a/lldb/test/API/driver/batch_mode/TestBatchMode.py b/lldb/test/API/driver/batch_mode/TestBatchMode.py index 47822b81b61e7..38b0871178395 100644 --- a/lldb/test/API/driver/batch_mode/TestBatchMode.py +++ b/lldb/test/API/driver/batch_mode/TestBatchMode.py @@ -11,7 +11,7 @@ from lldbsuite.test.lldbpexpect import PExpectTest -@skipIfWasm # driver cannot launch a Wasm inferior +@requireNotWasm # driver cannot launch a Wasm inferior class DriverBatchModeTest(PExpectTest): source = "main.c" diff --git a/lldb/test/API/driver/longpath/TestLongPathDriver.py b/lldb/test/API/driver/longpath/TestLongPathDriver.py index c74229b860367..7779e934efdae 100644 --- a/lldb/test/API/driver/longpath/TestLongPathDriver.py +++ b/lldb/test/API/driver/longpath/TestLongPathDriver.py @@ -15,7 +15,7 @@ MAX_PATH = 260 -@skipUnlessWindows +@requireWindows class DriverLongPathTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py index 1532d7942dfe3..e7e7534b40c02 100644 --- a/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py +++ b/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py @@ -22,7 +22,7 @@ def start_python_repl(self): # PExpect uses many timeouts internally and doesn't play well # under ASAN on a loaded machine.. @skipIfAsan - @skipIfWindows + @requirePOSIX @skipIf(oslist=["linux"], archs=["arm$", "aarch64"]) def test_while_evaluating_code(self): """Tests SIGINT handling while Python code is being evaluated.""" @@ -56,7 +56,7 @@ def test_while_evaluating_code(self): # FIXME: On Linux the Python code that reads from stdin seems to block until # it has finished reading a line before handling any queued signals. @skipIf(hostoslist=["linux"]) - @skipIfWindows + @requirePOSIX def test_while_waiting_on_input(self): """Tests SIGINT handling while the REPL is waiting on input from stdin.""" diff --git a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py index 3e9733f403f96..149a759c5d4e1 100644 --- a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py +++ b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py @@ -10,7 +10,7 @@ from lldbsuite.test.lldbpexpect import PExpectTest -@skipIfNoSignals # no signal support +@requireSignals # no signal support class TestCase(PExpectTest): SHARED_BUILD_TESTCASE = False diff --git a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py index 433c4377f4c1e..17c2dedbf7df1 100644 --- a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py +++ b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py @@ -21,7 +21,7 @@ def setUp(self): self.source = "main.mm" self.line = line_number(self.source, "// set breakpoint here") - @skipUnlessDarwin + @requireDarwin def test(self): """Test SBType APIs to fetch member function types.""" d = {"EXE": self.exe_name} diff --git a/lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py b/lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py index e511029a2d470..8cb6851516b3f 100644 --- a/lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py +++ b/lldb/test/API/python_api/exprpath_register/TestExprPathRegisters.py @@ -50,7 +50,7 @@ def test_float_registers(self): if reg_value: self.verify_register_path(reg_value) - @skipIfWasm # wasm exposes no registers + @requireNotWasm # wasm exposes no registers def test_all_registers(self): """Test all the registers that is avaiable on the machine""" self.build() diff --git a/lldb/test/API/python_api/exprpath_synthetic/TestExprPathSynthetic.py b/lldb/test/API/python_api/exprpath_synthetic/TestExprPathSynthetic.py index 7c769ac70ad6d..376617786b25e 100644 --- a/lldb/test/API/python_api/exprpath_synthetic/TestExprPathSynthetic.py +++ b/lldb/test/API/python_api/exprpath_synthetic/TestExprPathSynthetic.py @@ -1,4 +1,4 @@ from lldbsuite.test import decorators from lldbsuite.test import lldbinline -lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipUnlessDarwin]) +lldbinline.MakeInlineTest(__file__, globals(), [decorators.requireDarwin]) 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 b201d7b71b7eb..a39d6fe191315 100644 --- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py +++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py @@ -12,7 +12,7 @@ import time -@skipIfWasm # modules carry no build ID to cache on +@requireNotWasm # 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/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py index 33b75032560c9..888f0d8a04b45 100644 --- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py +++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py @@ -72,7 +72,7 @@ def test_with_process_launch_api(self): @expectedFailureAll(oslist=["windows"], archs=["aarch64"]) @skipIfiOSSimulator - @skipIfWasm # attaching requires launching the inferior as a host process + @requireNotWasm # attaching requires launching the inferior as a host process def test_with_attach_to_process_with_id_api(self): """Create target, spawn a process, and attach to it with process id.""" exe = "%s_%d" % (self.testMethodName, os.getpid()) @@ -105,7 +105,7 @@ def test_with_attach_to_process_with_id_api(self): @expectedFailureAll(oslist=["windows"], archs=["aarch64"]) @skipIfiOSSimulator @skipIfAsan # FIXME: Hangs indefinitely. - @skipIfWasm # attaching requires launching the inferior as a host process + @requireNotWasm # attaching requires launching the inferior as a host process def test_with_attach_to_process_with_name_api(self): """Create target, spawn a process, and attach to it with process name.""" exe = "%s_%d" % (self.testMethodName, os.getpid()) diff --git a/lldb/test/API/python_api/process/address-masks/TestAddressMasks.py b/lldb/test/API/python_api/process/address-masks/TestAddressMasks.py index 1ad81c4e3630d..866972de5520d 100644 --- a/lldb/test/API/python_api/process/address-masks/TestAddressMasks.py +++ b/lldb/test/API/python_api/process/address-masks/TestAddressMasks.py @@ -7,7 +7,7 @@ from lldbsuite.test import lldbutil -@skipIfWasm # no ABI plugin, so address masks are never applied +@requireNotWasm # no ABI plugin, so address masks are never applied class AddressMasksTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py b/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py index 8c441678a96e8..0373c225a60e8 100644 --- a/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py +++ b/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py @@ -11,7 +11,7 @@ class TestReadMemCString(TestBase): NO_DEBUG_INFO_TESTCASE = True - @skipIfWasm # linear memory has no unmapped pages, so a bad in-range pointer still reads + @requireNotWasm # linear memory has no unmapped pages, so a bad in-range pointer still reads def test_read_memory_c_string(self): """Test corner case behavior of SBProcess::ReadCStringFromMemory""" self.build() diff --git a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py index 7799693873bd5..f78b7a681bd68 100644 --- a/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py +++ b/lldb/test/API/python_api/sbenvironment/TestSBEnvironment.py @@ -8,7 +8,7 @@ from lldbsuite.test import lldbutil -@skipIfWasm # no remote environment support +@requireNotWasm # no remote environment support class SBEnvironmentAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.py b/lldb/test/API/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.py index 5b9f9727af9f0..88e5501e24e75 100644 --- a/lldb/test/API/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.py +++ b/lldb/test/API/python_api/sbmodule/SeperateDebugInfo/TestSBModuleSeparateDebugInfo.py @@ -53,7 +53,7 @@ def test_get_separate_debug_info_files_dwp(self): self.assertTrue(module_specs[0].GetFileSpec().Exists()) @no_debug_info_test - @skipUnlessPlatform(["darwin"]) + @requirePlatform(["darwin"]) def test_darwin_oso(self): """DWARF in .o files (no dSYM) -- returns .o file paths.""" self.build(debug_info="dwarf") diff --git a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py index 4bb73acb730b2..2a78f0106e18c 100644 --- a/lldb/test/API/python_api/sbplatform/TestSBPlatform.py +++ b/lldb/test/API/python_api/sbplatform/TestSBPlatform.py @@ -10,7 +10,7 @@ from lldbsuite.test import lldbutil -@skipIfWasm # no remote platform file/process APIs +@requireNotWasm # no remote platform file/process APIs class SBPlatformAPICase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/signals/TestSignalsAPI.py b/lldb/test/API/python_api/signals/TestSignalsAPI.py index 4b6c7e4214455..2cc5842a0c98a 100644 --- a/lldb/test/API/python_api/signals/TestSignalsAPI.py +++ b/lldb/test/API/python_api/signals/TestSignalsAPI.py @@ -10,7 +10,7 @@ from lldbsuite.test.lldbutil import get_stopped_thread, state_type_to_str -@skipIfNoSignals +@requireSignals class SignalsAPITestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py b/lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py index ba9ab286f82e6..5b11f30fcbd1b 100644 --- a/lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py +++ b/lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py @@ -18,7 +18,7 @@ class TargetArchFromModule(TestBase): debug_info=no_match(["dsym"]), bugnumber="This test is looking explicitly for a dSYM", ) - @skipUnlessDarwin + @requireDarwin @skipIfRemote def test_target_arch_init(self): self.build() diff --git a/lldb/test/API/python_api/unified_section_list/TestModuleUnifiedSectionList.py b/lldb/test/API/python_api/unified_section_list/TestModuleUnifiedSectionList.py index a559307e59930..7600a388711dd 100644 --- a/lldb/test/API/python_api/unified_section_list/TestModuleUnifiedSectionList.py +++ b/lldb/test/API/python_api/unified_section_list/TestModuleUnifiedSectionList.py @@ -15,7 +15,7 @@ class ModuleUnifiedSectionList(TestBase): SHARED_BUILD_TESTCASE = False - @skipUnlessPlatform(["linux", "freebsd", "netbsd"]) + @requirePlatform(["linux", "freebsd", "netbsd"]) def test_unified_section_list(self): self.build() exe = self.getBuildArtifact("a.out") diff --git a/lldb/test/API/qemu/TestQemuLaunch.py b/lldb/test/API/qemu/TestQemuLaunch.py index 5d9432f5aff5d..ecdb16afc2c12 100644 --- a/lldb/test/API/qemu/TestQemuLaunch.py +++ b/lldb/test/API/qemu/TestQemuLaunch.py @@ -14,7 +14,7 @@ @skipIfRemote @skipIfWindows @skipIf(archs=["arm64e"]) -@skipIfWasm # no qemu-wasm32 +@requireNotWasm # no qemu-wasm32 class TestQemuLaunch(TestBase): NO_DEBUG_INFO_TESTCASE = True diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py index 25ad600c292d1..43eac3ed2fb93 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteAuxvSupport.py @@ -69,14 +69,14 @@ def get_raw_auxv_data(self): self.assertIsNotNone(content_raw) return (word_size, self.decode_gdbremote_binary(content_raw)) - @skipIfWindows # no auxv support. - @skipIfDarwin + @requireNotWindows # no auxv support. + @requireNotDarwin def test_supports_auxv(self): self.build() self.set_inferior_startup_launch() self.assertTrue(self.has_auxv_support()) - @skipIfWindows + @requireNotWindows @expectedFailureNetBSD def test_auxv_data_is_correct_size(self): self.build() @@ -90,7 +90,7 @@ def test_auxv_data_is_correct_size(self): self.assertEqual(len(auxv_data) % (2 * word_size), 0) self.trace("auxv contains {} entries".format(len(auxv_data) / (2 * word_size))) - @skipIfWindows + @requireNotWindows @expectedFailureNetBSD def test_auxv_keys_look_valid(self): self.build() @@ -120,7 +120,7 @@ def test_auxv_keys_look_valid(self): self.assertGreaterEqual(auxv_key, 1) self.assertLessEqual(auxv_key, 2500) - @skipIfWindows + @requireNotWindows @expectedFailureNetBSD def test_auxv_chunked_reads_work(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py index 0d96fd9b7bfdb..b136b0c736ccf 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py @@ -116,7 +116,7 @@ def test_qHostInfo_returns_at_least_one_key_val_pair(self): self.build() self.get_qHostInfo_response() - @skipUnlessDarwin + @requireDarwin def test_qHostInfo_contains_darwin_required_keys(self): self.build() host_info_dict = self.get_qHostInfo_response() diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py index cff210cd16704..3fe21cd9d53a9 100644 --- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py +++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py @@ -479,7 +479,7 @@ def Hc_then_Csignal_signals_correct_thread(self, segfault_signo): self.assertEqual(post_handle_thread_id, print_thread_id) @expectedFailureDarwin - @skipIfWindows # no SIGSEGV support + @requireNotWindows # no SIGSEGV support @expectedFailureNetBSD def test_Hc_then_Csignal_signals_correct_thread_launch(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/TestNonStop.py b/lldb/test/API/tools/lldb-server/TestNonStop.py index 841de50818797..71314195ac7f6 100644 --- a/lldb/test/API/tools/lldb-server/TestNonStop.py +++ b/lldb/test/API/tools/lldb-server/TestNonStop.py @@ -5,7 +5,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase): - @skipIfWindows # no SIGSEGV support + @requireNotWindows # no SIGSEGV support @add_test_categories(["llgs"]) def test_run(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py b/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py index 8df49c521937c..97d879e1da81d 100644 --- a/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py +++ b/lldb/test/API/tools/lldb-server/commandline/TestStubSetSID.py @@ -26,7 +26,7 @@ def prepare_test(self): self.start_new_session = False self.set_inferior_startup_launch() - @skipIfWindows + @requirePOSIX @skipIfRemote # --setsid not used on remote platform and currently it is also impossible to get the sid of lldb-platform running on a remote target def test_sid_is_same_without_setsid(self): self.prepare_test() @@ -34,7 +34,7 @@ def test_sid_is_same_without_setsid(self): stub_sid = self.get_stub_sid() self.assertEqual(stub_sid, os.getsid(0)) - @skipIfWindows + @requirePOSIX @skipIfRemote # --setsid not used on remote platform and currently it is also impossible to get the sid of lldb-platform running on a remote target def test_sid_is_different_with_setsid(self): self.prepare_test() @@ -42,7 +42,7 @@ def test_sid_is_different_with_setsid(self): stub_sid = self.get_stub_sid(["--setsid"]) self.assertNotEqual(stub_sid, os.getsid(0)) - @skipIfWindows + @requirePOSIX @skipIfRemote # --setsid not used on remote platform and currently it is also impossible to get the sid of lldb-platform running on a remote target def test_sid_is_different_with_S_llgs(self): self.prepare_test() diff --git a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py index a9aa103f64ee8..9997365f6d738 100644 --- a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py +++ b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteAbort.py @@ -5,7 +5,7 @@ class TestGdbRemoteAbort(gdbremote_testcase.GdbRemoteTestCaseBase): - @skipIfWindows # No signal is sent on Windows. + @requireNotWindows # No signal is sent on Windows. # std::abort() on <= API 16 raises SIGSEGV - b.android.com/179836 @expectedFailureAndroid(api_levels=list(range(16 + 1))) def test_inferior_abort_received_llgs(self): diff --git a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py index b19f20c1b79bb..be157c6f81e53 100644 --- a/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py +++ b/lldb/test/API/tools/lldb-server/inferior-crash/TestGdbRemoteSegFault.py @@ -30,7 +30,7 @@ def inferior_seg_fault_received(self, expected_signo): self.assertIsNotNone(hex_exit_code) self.assertEqual(int(hex_exit_code, 16), expected_signo) - @skipIfWindows # No signal is sent on Windows. + @requireNotWindows # No signal is sent on Windows. def test_inferior_seg_fault_received(self): self.build() if self.platformIsDarwin(): diff --git a/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py b/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py index f3f8d2b64279c..f1016a035cf43 100644 --- a/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py +++ b/lldb/test/API/tools/lldb-server/signal-filtering/TestGdbRemote_QPassSignals.py @@ -87,7 +87,7 @@ def test_change_signals_at_runtime(self): self.ignore_signals(signals_to_ignore) self.expect_exit_code(len(signals_to_ignore)) - @skipIfWindows # no signal support + @requireNotWindows # no signal support @expectedFailureNetBSD def test_default_signals_behavior(self): self.build() diff --git a/lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py b/lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py index b0f7277b64881..667411c58a61e 100644 --- a/lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py +++ b/lldb/test/API/tools/lldb-server/vCont-threads/TestSignal.py @@ -54,7 +54,7 @@ def get_pid(self): procinfo = self.parse_process_info_response(context) return int(procinfo["pid"], 16) - @skipIfWindows + @requireNotWindows @skipIfDarwin @expectedFailureNetBSD @expectedFailureAll( @@ -85,7 +85,7 @@ def test_signal_one_thread(self): "C{0:x}:{1:x};c".format(lldbutil.get_signal_number... [truncated] `````````` </details> https://github.com/llvm/llvm-project/pull/213467 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
