[Lldb-commits] [lldb] [lldb] skip TestDuplicateMembers.py on Windows (PR #198532)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Tue May 19 09:08:57 PDT 2026


charles-zablit wrote:

> Seems more like you noticed this apparently macosx only test wasn't marked as such because it tried to use ar. Rather than marking it darwin only because it uses ar.
> 
> It does work on Linux:
> 
> ```
> $ ./bin/lldb-dotest -p TestDuplicateMembers.py
> <...>
> UNSUPPORTED: LLDB (/home/davspi01/build-llvm-aarch64/bin/clang-aarch64) :: test_dsym (TestDuplicateMembers.BSDArchivesTestCase) (test case does not fall in any category of interest for this run) 
> PASS: LLDB (/home/davspi01/build-llvm-aarch64/bin/clang-aarch64) :: test_dwarf (TestDuplicateMembers.BSDArchivesTestCase)
> PASS: LLDB (/home/davspi01/build-llvm-aarch64/bin/clang-aarch64) :: test_dwo (TestDuplicateMembers.BSDArchivesTestCase)
> ----------------------------------------------------------------------
> Ran 3 tests in 0.284s
> 
> OK (skipped=1)
> ```
> 
> So can we move it somewhere else and skipIfWindows because Windows lacks ar?

I assumed ar was macOS only. Switched to `@skipIfWindows`.

https://github.com/llvm/llvm-project/pull/198532


More information about the lldb-commits mailing list