Author: Charles Zablit
Date: 2026-01-08T16:56:24Z
New Revision: ebdaea63622d8d3d02701aeec2b7f2769ba89b7d

URL: 
https://github.com/llvm/llvm-project/commit/ebdaea63622d8d3d02701aeec2b7f2769ba89b7d
DIFF: 
https://github.com/llvm/llvm-project/commit/ebdaea63622d8d3d02701aeec2b7f2769ba89b7d.diff

LOG: [lldb-dap][windows] fix lldb-dap executable name in test (#175014)

This patch fixes an incorrect name of the `lldb-dap` process on Windows
by appending `.exe` to the name.

This is a prelude to https://github.com/llvm/llvm-project/pull/174635.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/dotest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/dotest.py 
b/lldb/packages/Python/lldbsuite/test/dotest.py
index fcd60a1bc0db8..84490d86c7e7f 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -566,7 +566,9 @@ def setupSysPath():
 
     lldbDir = os.path.dirname(lldbtest_config.lldbExec)
 
-    lldbDAPExec = os.path.join(lldbDir, "lldb-dap")
+    lldbDAPExec = os.path.join(
+        lldbDir, "lldb-dap.exe" if sys.platform == "win32" else "lldb-dap"
+    )
     if is_exe(lldbDAPExec):
         os.environ["LLDBDAP_EXEC"] = lldbDAPExec
 


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to