sedymrak wrote:

> Ideally we'd test this, but you need access to the member variables of the 
> client, while also having a server respond in arbitrary ways. There are 
> client tests in 
> lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp but 
> I'm not sure if the MockServer is flexible enough for this.

I am trying to figure out how those tests could be run.
When I run all the unit tests:
```
$MY_BUILD_DIRECTORY/tools/lldb/unittests/Utility/UtilityTests
```
I see that a lot of tests are run, but I don't see any of those that are 
defined in the `GDBRemoteCommunicationClientTest.cpp` file.

Before adding some new tests I would like to figure out why the existing tests 
are not run on my machine
(OS == Debian_12 && ARCHITECTURE == amd64)

https://github.com/llvm/llvm-project/pull/182287
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to