jingham added a comment.

It's quite common to use the lldbtest.TestBase.runCmd or 
lldbtest.TestBase.expect to test command line commands in the API tests.   The 
latter has expect-like results checking which makes writing these checks easy.  
Even if you are testing a command-line command, driving to the point where you 
want to do the check is often easier with the API & the lldbutil helpers, so 
it's okay to intersperse these among the API uses.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104437

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to