[Lldb-commits] [PATCH] D91206: [lldb] Switch expect to runCmd in TestRecursiveTypes (NFC)

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 10 14:00:42 PST 2020


kastiglione created this revision.
kastiglione added reviewers: aprantl, teemperor.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
kastiglione requested review of this revision.
Herald added a subscriber: JDevlieghere.

Following discussion in D91193 <https://reviews.llvm.org/D91193>, a change made in D88792 <https://reviews.llvm.org/D88792> was not quite right.
This restores the message argument, and switches from `expect` to `runCmd`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91206

Files:
  lldb/test/API/types/TestRecursiveTypes.py


Index: lldb/test/API/types/TestRecursiveTypes.py
===================================================================
--- lldb/test/API/types/TestRecursiveTypes.py
+++ lldb/test/API/types/TestRecursiveTypes.py
@@ -50,5 +50,5 @@
 
         self.runCmd("run", RUN_SUCCEEDED)
 
-        self.expect("print tpi")
-        self.expect("print *tpi")
+        self.runCmd("print tpi", RUN_SUCCEEDED)
+        self.runCmd("print *tpi", RUN_SUCCEEDED)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91206.304326.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201110/d624b28a/attachment.bin>


More information about the lldb-commits mailing list