[Lldb-commits] [lldb] 26ba6b7 - [lldb][test] Force lldb-server use in fail_watchpoint_command.test (#236711)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 29 03:53:06 PDT 2026
Author: David Spickett
Date: 2026-10-29T10:53:01Z
New Revision: 26ba6b71ec4aed9930d332de5365013ac06bf454
URL: https://github.com/llvm/llvm-project/commit/26ba6b71ec4aed9930d332de5365013ac06bf454
DIFF: https://github.com/llvm/llvm-project/commit/26ba6b71ec4aed9930d332de5365013ac06bf454.diff
LOG: [lldb][test] Force lldb-server use in fail_watchpoint_command.test (#236711)
Turns out that our Windows on Arm bot hasn't been testing lldb-server
this entire time. We set LLDB_USE_LLDB_SERVER, but to test it you have
to set LLDB_TEST_USE_LLDB_SERVER.
And I don't fancy setting that and waiting a week to find out what
breaks.
So we will update in the future bot but for now, make this test always
use lldb-server.
With in-process debug, you cannot set any watchpoints on Windows on Arm.
With lldb-server, you can set 1, at least you can on the bot's hardware.
Fixes #235985. Relates to #232235.
Added:
Modified:
lldb/test/Shell/ScriptInterpreter/Python/fail_watchpoint_command.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/fail_watchpoint_command.test b/lldb/test/Shell/ScriptInterpreter/Python/fail_watchpoint_command.test
index 81e4a2a4f0b83..80cb2c34945c1 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/fail_watchpoint_command.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/fail_watchpoint_command.test
@@ -1,7 +1,7 @@
# XFAIL: system-netbsd
# RUN: split-file %s %t
# RUN: %clang_host -x c %t/main.c -g -o %t.out
-# RUN: %lldb -b -s %t/commands.in --script-language python %t.out 2>&1 \
+# RUN: env LLDB_USE_LLDB_SERVER=1 %lldb -b -s %t/commands.in --script-language python %t.out 2>&1 \
# RUN: | FileCheck %s
# CHECK: error: SyntaxError({{.*}})
More information about the lldb-commits
mailing list