JDevlieghere wrote:

> Is there anyway we can make a mock or something for the SBProcess? That would 
> be helpful for these tests, but I am not sure if we have that somewhere in 
> the lldb testing utilities or not already.

We have a few unit tests that inherit from `lldb_private::Process` for mocking, 
but I've never looked into mocking `SBProcess`. Maybe that's not too hard with 
GMock? 

https://github.com/llvm/llvm-project/pull/140566
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to