[Lldb-commits] [lldb] [lldb-dap] fix substitution in lldb-dap shell test (PR #179992)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 5 09:38:31 PST 2026


https://github.com/charles-zablit created https://github.com/llvm/llvm-project/pull/179992

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.

>From cc23f557a93a62f4587bd832e8d1da596f8608b8 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Thu, 5 Feb 2026 17:37:17 +0000
Subject: [PATCH] [lldb-dap] fix substitution in lldb-dap shell test

---
 lldb/test/Shell/DAP/TestHelp.test    | 2 +-
 lldb/test/Shell/DAP/TestVersion.test | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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:



More information about the lldb-commits mailing list