[Lldb-commits] [PATCH] D114819: [lldb] Split TestCxxChar8_t

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 1 16:51:27 PST 2021


jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

Seems fine to me to break this into running and not running cases, but you should use the right lldbutil method for the running case.



================
Comment at: lldb/test/API/lang/cpp/char8_t/TestCxxChar8_t.py:40-43
+        lldbutil.run_to_breakpoint_make_target(self)
+
         lldbutil.run_break_set_by_source_regexp(self, "// break here", "-f main.cpp")
         self.runCmd("run")
----------------
You don't need to do this in three steps, do you?  Can't you just use lldbutil.run_to_source_breakpoint?  That will catch errors in running & hitting the breakpoint which you don't check here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114819/new/

https://reviews.llvm.org/D114819



More information about the lldb-commits mailing list