From 366023fcb63d0ade5bd742ede2fc27899296877c Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Thu, 5 Sep 2019 10:03:56 +0100 Subject: IVGCVSW-3719 Create test program executable. Introduce a new test utility that simulates the Gatord service. This will be used to test the external profiling features. Change-Id: Ib7c75c1302650e140945cd66d272c23af3aac760 Signed-off-by: Colm Donelan --- tests/profiling/GatordMockMain.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/profiling/GatordMockMain.cpp (limited to 'tests/profiling/GatordMockMain.cpp') diff --git a/tests/profiling/GatordMockMain.cpp b/tests/profiling/GatordMockMain.cpp new file mode 100644 index 0000000000..91fa907795 --- /dev/null +++ b/tests/profiling/GatordMockMain.cpp @@ -0,0 +1,18 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include "CommandLineProcessor.hpp" + +#include + +int main(int argc, char *argv[]) +{ + armnn::gatordmock::CommandLineProcessor cmdline; + if (!cmdline.ProcessCommandLine(argc, argv)) + { + return EXIT_FAILURE; + } + return EXIT_SUCCESS; +} -- cgit v1.2.1