[Lldb-commits] [PATCH] D52270: TestMultilineExpr: validate evaluation for expressions spread over multiple lines

Stefan Gränitz via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 19 11:15:48 PDT 2018


sgraenitz updated this revision to Diff 166151.
sgraenitz added a comment.

Addressing Adrian's comments


https://reviews.llvm.org/D52270

Files:
  lit/Expr/TestMultilineExpr.test


Index: lit/Expr/TestMultilineExpr.test
===================================================================
--- /dev/null
+++ lit/Expr/TestMultilineExpr.test
@@ -0,0 +1,10 @@
+# RUN: %lldb -b -s %s | FileCheck %s
+
+# In terminal sessions LLDB hides input from subsequent lines so it's not visible in the output we check below.
+expression
+2+
+3
+
+# CHECK: (lldb) expression
+# CHECK-NEXT: Enter expressions, then terminate with an empty line to evaluate:
+# CHECK-NEXT: (int) {{.*}} = 5


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52270.166151.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180919/5e8d6e9d/attachment.bin>


More information about the lldb-commits mailing list