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 <Colm.Donelan@arm.com>
diff --git a/tests/profiling/GatordMockMain.cpp b/tests/profiling/GatordMockMain.cpp
new file mode 100644
index 0000000..91fa907
--- /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 <cstdlib>
+
+int main(int argc, char *argv[])
+{
+ armnn::gatordmock::CommandLineProcessor cmdline;
+ if (!cmdline.ProcessCommandLine(argc, argv))
+ {
+ return EXIT_FAILURE;
+ }
+ return EXIT_SUCCESS;
+}