IVGCVSW-3721 Add support for startup sequence (Mock Gatord service).
authorColm Donelan <Colm.Donelan@arm.com>
Wed, 16 Oct 2019 11:24:20 +0000 (12:24 +0100)
committerColm Donelan <colm.donelan@arm.com>
Thu, 17 Oct 2019 15:59:55 +0000 (15:59 +0000)
commitb682d840bb0b4cc34f4febb69c2385feec880ae1
tree155457d5c382deec0b45fd85a0609a4c3322613e
parent5ae78299f117a61c48a67c5381341501571a0b03
IVGCVSW-3721 Add support for startup sequence (Mock Gatord service).

* Updated ExecuteNetwork to propagate a configured Runtime down to RunTest.
* Fixed the creation of PeriodicCounterCaptureCommandHandler to match
  other handlers.
* Moved around some printouts to make the MockGatorD output more useful.
* Added details to the exception handling for problems in the
  GatordMockService receive thread.
* Mockutils::ConstructHeader is only used in GatordMockTests. Moved it
  in there and deleted MockUtils.hpp
* Refactored SendPeriodicCounterSelectionList to use ProfilingUtils.
* Added PeriodicCounterSelectionResponseHandler to received packet echoed back.

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I4accdbf6cf5dd3f7dcc12b210b8360b4a5e4e277
13 files changed:
CMakeLists.txt
tests/ExecuteNetwork/ExecuteNetwork.cpp
tests/profiling/gatordmock/CommandFileParser.hpp
tests/profiling/gatordmock/CommandLineProcessor.hpp
tests/profiling/gatordmock/GatordMockMain.cpp
tests/profiling/gatordmock/GatordMockService.cpp
tests/profiling/gatordmock/GatordMockService.hpp
tests/profiling/gatordmock/MockUtils.hpp [deleted file]
tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp
tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp
tests/profiling/gatordmock/PeriodicCounterSelectionResponseHandler.cpp [new file with mode: 0644]
tests/profiling/gatordmock/PeriodicCounterSelectionResponseHandler.hpp [new file with mode: 0644]
tests/profiling/gatordmock/tests/GatordMockTests.cpp