summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-16 17:31:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-08-16 17:31:57 (GMT)
commit5a7f30e532a6dc479dbf483599100228ae79a076 (patch)
tree64a6a78f0568e68434af52cb66707169e17432f4 /Tests
parent58d27dc6dbdc1cd2dcc537c95b2810528228d754 (diff)
parent1a5cb0c1c1754a886cb22b1349360ca6e7629814 (diff)
downloadCMake-5a7f30e532a6dc479dbf483599100228ae79a076.zip
CMake-5a7f30e532a6dc479dbf483599100228ae79a076.tar.gz
CMake-5a7f30e532a6dc479dbf483599100228ae79a076.tar.bz2
Merge topic 'test-debugger-named-pipe-fix'
1a5cb0c1c1 testDebuggerNamedPipe: fix for cppdap with nlohmann_json Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8725
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLib/testDebuggerNamedPipe.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/CMakeLib/testDebuggerNamedPipe.cxx b/Tests/CMakeLib/testDebuggerNamedPipe.cxx
index d2b0728..ec91706 100644
--- a/Tests/CMakeLib/testDebuggerNamedPipe.cxx
+++ b/Tests/CMakeLib/testDebuggerNamedPipe.cxx
@@ -180,13 +180,13 @@ int runTest(int argc, char* argv[])
auto debuggerResponse = debuggerResponseStream.str();
std::vector<std::string> expectedResponses = {
- R"("event" : "initialized".*"type" : "event")",
- R"("command" : "launch".*"success" : true.*"type" : "response")",
- R"("command" : "configurationDone".*"success" : true.*"type" : "response")",
- R"("reason" : "started".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
- R"("reason" : "exited".*"threadId" : 1.*"event" : "thread".*"type" : "event")",
- R"("exitCode" : 0.*"event" : "exited".*"type" : "event")",
- R"("command" : "disconnect".*"success" : true.*"type" : "response")"
+ R"("event" *: *"initialized".*"type" *: *"event")",
+ R"("command" *: *"launch".*"success" *: *true.*"type" *: *"response")",
+ R"("command" *: *"configurationDone".*"success" *: *true.*"type" *: *"response")",
+ R"("reason" *: *"started".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
+ R"("reason" *: *"exited".*"threadId" *: *1.*"event" *: *"thread".*"type" *: *"event")",
+ R"("exitCode" *: *0.*"event" *: *"exited".*"type" *: *"event")",
+ R"("command" *: *"disconnect".*"success" *: *true.*"type" *: *"response")"
};
for (auto& regexString : expectedResponses) {