[Lldb-commits] [lldb] [lldb-dap] fix substitution in lldb-dap shell test (PR #179992)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 5 09:39:08 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Charles Zablit (charles-zablit)
<details>
<summary>Changes</summary>
https://github.com/llvm/llvm-project/pull/179685 fixed the `lldb-dap` substitution in shell tests.
This replaces the `lldb-dap` invocations with `%lldb-dap` to use the substitution.
---
Full diff: https://github.com/llvm/llvm-project/pull/179992.diff
2 Files Affected:
- (modified) lldb/test/Shell/DAP/TestHelp.test (+1-1)
- (modified) lldb/test/Shell/DAP/TestVersion.test (+1-1)
``````````diff
diff --git a/lldb/test/Shell/DAP/TestHelp.test b/lldb/test/Shell/DAP/TestHelp.test
index 6033cf15e3835..20cb430afac3e 100644
--- a/lldb/test/Shell/DAP/TestHelp.test
+++ b/lldb/test/Shell/DAP/TestHelp.test
@@ -1,4 +1,4 @@
-# RUN: lldb-dap --help | FileCheck %s
+# RUN: %lldb-dap --help | FileCheck %s
# CHECK: --connection
# CHECK: -g
# CHECK: --help
diff --git a/lldb/test/Shell/DAP/TestVersion.test b/lldb/test/Shell/DAP/TestVersion.test
index ad3ff67e45d79..3c51c2c3cd773 100644
--- a/lldb/test/Shell/DAP/TestVersion.test
+++ b/lldb/test/Shell/DAP/TestVersion.test
@@ -1,3 +1,3 @@
-# RUN: lldb-dap --version | FileCheck %s
+# RUN: %lldb-dap --version | FileCheck %s
# CHECK: lldb-dap:
# CHECK: liblldb:
``````````
</details>
https://github.com/llvm/llvm-project/pull/179992
More information about the lldb-commits
mailing list