[all-commits] [llvm/llvm-project] fd0d43: [lldb/test] Skip TestCancelAttach on remote target...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Wed Jun 10 12:55:48 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd0d43df9e58f712b96827ca115664b7e665beaa
https://github.com/llvm/llvm-project/commit/fd0d43df9e58f712b96827ca115664b7e665beaa
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M lldb/test/API/python_api/process/cancel_attach/TestCancelAttach.py
Log Message:
-----------
[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 <ismail at bennani.ma>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list