[llvm] [lldb][Windows] also run tests with LLDB_TEST_USE_LLDB_SERVER=1 (PR #206511)

Charles Zablit via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 09:56:06 PDT 2026


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

>From 9179eceb7b1f4416c1c6b5e233ea46b9aa804909 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Mon, 29 Jun 2026 16:21:09 +0100
Subject: [PATCH 1/2] [lldb][Windows] also run tests with
 LLDB_TEST_USE_LLDB_SERVER=1

---
 .ci/green-dragon/lldb-windows.groovy | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.ci/green-dragon/lldb-windows.groovy b/.ci/green-dragon/lldb-windows.groovy
index bad530a5c7599..f2095657e77d2 100644
--- a/.ci/green-dragon/lldb-windows.groovy
+++ b/.ci/green-dragon/lldb-windows.groovy
@@ -71,11 +71,15 @@ cmake -G Ninja ^
     -DLLDB_ENABLE_LUA=OFF ^
     -DLLDB_ENABLE_LIBXML2=ON ^
     -DLLVM_TARGETS_TO_BUILD=Native ^
-    -DLLVM_LIT_ARGS="-v --time-tests --xunit-xml-output=C:\\workspace\\llvm-build\\test\\results.xml" ^
+    -DLLDB_TEST_USE_LLDB_SERVER=0 ^
+    -DLLVM_LIT_ARGS="-v --time-tests --xunit-xml-output=C:\\workspace\\llvm-build\\test\\results-no-lldb-server.xml" ^
     -DPython3_EXECUTABLE="C:\\Program Files\\Python313\\python.exe" || exit /b 1
 
 if not exist ..\\llvm-build\\test mkdir ..\\llvm-build\\test
 
+cmake -B ..\\llvm-build\\ ^
+    -DLLDB_TEST_USE_LLDB_SERVER=1 ^
+    -DLLVM_LIT_ARGS="-v --time-tests --xunit-xml-output=C:\\workspace\\llvm-build\\test\\results-lldb-server.xml" || exit /b 1
 ninja check-lldb -C ..\\llvm-build || exit /b 1
 '''
                         bat '''
@@ -94,7 +98,7 @@ ninja check-lldb -C ..\\llvm-build || exit /b 1
 
     post {
         always {
-            junit allowEmptyResults: true, testResults: 'llvm-build/test/results.xml'
+            junit allowEmptyResults: true, testResults: 'llvm-build/test/results-no-lldb-server.xml,llvm-build/test/results-lldb-server.xml'
         }
         cleanup {
             deleteDir()

>From 4a617a815f3ad82aa03235aa87db8bc1642b09a3 Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Mon, 29 Jun 2026 16:51:50 +0100
Subject: [PATCH 2/2] fixup! [lldb][Windows] also run tests with
 LLDB_TEST_USE_LLDB_SERVER=1

---
 .ci/green-dragon/lldb-windows.groovy | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.ci/green-dragon/lldb-windows.groovy b/.ci/green-dragon/lldb-windows.groovy
index f2095657e77d2..885c4e77f31dd 100644
--- a/.ci/green-dragon/lldb-windows.groovy
+++ b/.ci/green-dragon/lldb-windows.groovy
@@ -77,6 +77,8 @@ cmake -G Ninja ^
 
 if not exist ..\\llvm-build\\test mkdir ..\\llvm-build\\test
 
+ninja check-lldb -C ..\\llvm-build || exit /b 1
+
 cmake -B ..\\llvm-build\\ ^
     -DLLDB_TEST_USE_LLDB_SERVER=1 ^
     -DLLVM_LIT_ARGS="-v --time-tests --xunit-xml-output=C:\\workspace\\llvm-build\\test\\results-lldb-server.xml" || exit /b 1



More information about the llvm-commits mailing list