================
@@ -77,6 +77,45 @@ class GDBRemoteCommunicationClientTest : public
GDBRemoteTest {
MockServer server;
};
+TEST_F(GDBRemoteCommunicationClientTest, vCont_c) {
+ std::future<bool> write_result = std::async(
+ std::launch::async, [&] { return client.GetVContSupported("c"); });
+ HandlePacket(server, "vCont?", "$vCont;c#16");
+ ASSERT_TRUE(write_result.get());
+ ASSERT_FALSE(client.GetVContSupported("C"));
+ ASSERT_FALSE(client.GetVContSupported("s"));
+ ASSERT_FALSE(client.GetVContSupported("S"));
+ ASSERT_TRUE(client.GetVContSupported("a"));
+ ASSERT_FALSE(client.GetVContSupported("A"));
+ return;
----------------
sedymrak wrote:
You are right. It is redundant. I've pushed a commit that removes it.
https://github.com/llvm/llvm-project/pull/182287
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits