[Lldb-commits] [lldb] 082a47d - [lldb-dap] fix executable substitution in tests (#179685)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 4 10:06:10 PST 2026
Author: Charles Zablit
Date: 2026-02-04T18:06:04Z
New Revision: 082a47d8944da242993bf28980b07f2c8c3df4a6
URL: https://github.com/llvm/llvm-project/commit/082a47d8944da242993bf28980b07f2c8c3df4a6
DIFF: https://github.com/llvm/llvm-project/commit/082a47d8944da242993bf28980b07f2c8c3df4a6.diff
LOG: [lldb-dap] fix executable substitution in tests (#179685)
This patch fixes the `lldb-dap` executable substitution in tests. This
was not done before.
Added:
Modified:
lldb/test/Shell/helper/toolchain.py
Removed:
################################################################################
diff --git a/lldb/test/Shell/helper/toolchain.py b/lldb/test/Shell/helper/toolchain.py
index 66664561a249d..5803ecb8d96c1 100644
--- a/lldb/test/Shell/helper/toolchain.py
+++ b/lldb/test/Shell/helper/toolchain.py
@@ -167,7 +167,9 @@ def use_lldb_substitutions(config):
unresolved="ignore",
),
"lldb-test",
- "lldb-dap",
+ ToolSubst(
+ "%lldb-dap", command=FindTool("lldb-dap"), extra_args=[], unresolved="fatal"
+ ),
ToolSubst(
"%build", command="'" + sys.executable + "'", extra_args=build_script_args
),
More information about the lldb-commits
mailing list