[Lldb-commits] [lldb] [clang-tools-extra] [compiler-rt] [llvm] [clang] [flang] [libc] LLDB Debuginfod usage tests (with fixes) (PR #79181)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 26 08:34:37 PST 2024


https://github.com/JDevlieghere commented:

I'm wondering if shell test are really the best way to test this. For more complex scenarios like are being tested here, we generally prefer [1] API tests because they're more expressive and allow you to build more complicated test binaries with our Makefile system. Things like stripping a binary and generating split DWARF all seems like things that could be done that way, to avoid checking in a (yaml-ized) binary. 

Did you consider/evaluate writing API tests for this? 

[1] https://lldb.llvm.org/resources/test.html



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


More information about the lldb-commits mailing list