https://github.com/charles-zablit updated 
https://github.com/llvm/llvm-project/pull/197660

>From c7d6747bb49a3663784ac964878b880cfb4d9584 Mon Sep 17 00:00:00 2001
From: Charles Zablit <[email protected]>
Date: Thu, 14 May 2026 01:09:34 +0100
Subject: [PATCH] [lldb][test] Propagate LLDB_USE_LLDB_SERVER to Windows tests

---
 lldb/test/API/lit.cfg.py   | 2 +-
 lldb/test/Shell/lit.cfg.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py
index c92b104c9227c..244efab364a70 100644
--- a/lldb/test/API/lit.cfg.py
+++ b/lldb/test/API/lit.cfg.py
@@ -354,7 +354,7 @@ def delete_module_cache(path):
 
 # Transfer some environment variables into the tests on Windows build host.
 if platform.system() == "Windows":
-    for v in ["SystemDrive"]:
+    for v in ["SystemDrive", "LLDB_USE_LLDB_SERVER"]:
         if v in os.environ:
             config.environment[v] = os.environ[v]
     # Use anonymous pipes instead of ConPTY for all tests. ConPTY injects VT
diff --git a/lldb/test/Shell/lit.cfg.py b/lldb/test/Shell/lit.cfg.py
index 64107001e3aae..cab1eea69feba 100644
--- a/lldb/test/Shell/lit.cfg.py
+++ b/lldb/test/Shell/lit.cfg.py
@@ -54,6 +54,7 @@
         "TEMP",
         "TMP",
         "XDG_CACHE_HOME",
+        "LLDB_USE_LLDB_SERVER",
     ]
 )
 

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

Reply via email to