[Lldb-commits] [lldb] [LLDB] Update breakpoint-command.test to use string instead of number. (PR #69796)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 20 16:42:44 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
----------------
bulbazord wrote:

Interesting, is there a specific reason for doing string concatenation here? Or just keeping the `+` from the previous version?

https://github.com/llvm/llvm-project/pull/69796


More information about the lldb-commits mailing list