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)


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)
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to