Author: Med Ismail Bennani Date: 2026-06-10T12:55:25-07:00 New Revision: fd0d43df9e58f712b96827ca115664b7e665beaa
URL: https://github.com/llvm/llvm-project/commit/fd0d43df9e58f712b96827ca115664b7e665beaa DIFF: https://github.com/llvm/llvm-project/commit/fd0d43df9e58f712b96827ca115664b7e665beaa.diff LOG: [lldb/test] Skip TestCancelAttach on remote targets (#203069) The existing decorator AND-combined three conditions: ``` @skipIf(remote=True, hostoslist=["windows", "linux"], bugnumber=...) ``` which only skipped when the test was running remotely AND the host was windows or linux. On a remote-darwin run from a Mac host the host condition is false, so the AND is false, and the test runs. The waitfor-attach cancel path doesn't reliably interrupt a wait forwarded on a remote target, so SendAsyncInterrupt() doesn't unblock the attach thread on the host; the attempt then hangs to the lit timeout (600s) instead of completing the assertion. Split the decorator into two: @skipIfRemote unconditionally, plus the existing @skipIf(hostoslist=["windows", "linux"]) for the original windows/linux issue. Both apply independently. Signed-off-by: Med Ismail Bennani <[email protected]> Added: Modified: lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py Removed: ################################################################################ diff --git a/lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py b/lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py index 3d35c2994aebd..7bb3bda7bef89 100644 --- a/lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py +++ b/lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py @@ -14,8 +14,8 @@ class AttachCancelTestCase(TestBase): NO_DEBUG_INFO_TESTCASE = True + @skipIfRemote @skipIf( - remote=True, hostoslist=["windows", "linux"], bugnumber="https://github.com/llvm/llvm-project/issues/115618", ) _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
