[Lldb-commits] [lldb] [LLDB] Update breakpoint-command.test to use string instead of number. (PR #69796)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Oct 22 15:42:09 PDT 2023
================
@@ -1,7 +1,7 @@
# REQUIRES: lua || python
# RUN: %build %p/Inputs/dummy-target.c -o %t.out
-# RUN: %lldb %t.out -o 'b main' -o 'break command add 1 -o "script print(95000 + 126)"' -o 'r' | FileCheck %s
+# RUN: %lldb %t.out -o 'b main' -o 'break command add 1 -o "script print(\"A R4Nd0m\" + \" Str1ng\")"' -o 'r' | FileCheck %s
----------------
cmtice wrote:
Without string concatenation, the test detects the string in the script command, so that it is still found multiple times.
https://github.com/llvm/llvm-project/pull/69796
More information about the lldb-commits
mailing list