[Lldb-commits] [lldb] [lldb][test] StepUntil disable test for unsupported linkers. (PR #157474)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 9 04:25:08 PDT 2025


================
@@ -74,6 +74,7 @@ def test_hitting(self):
 
     @skipIf(oslist=lldbplatformutil.getDarwinOSTriples() + ["windows"])
     @skipIf(archs=no_match(["x86_64", "aarch64"]))
+    @skipTestIfFn(linker_script_syntax_unsupported)
----------------
Michael137 wrote:

Did you try wrapping the `self.build` calls in a `try/catch` (e.g., https://github.com/llvm/llvm-project/blob/96d556784ed3ec7a8a6c377b44afb5dfa49229e6/lldb/test/API/functionalities/asan/TestReportData.py#L25-L28)

That seems like a much less maintenance heavy solution.

I'm just a bit wary of a function with a generic name such as `linker_script_syntax_unsupported` testing something so specific.

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


More information about the lldb-commits mailing list