aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/GatordMockMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/profiling/GatordMockMain.cpp')
-rw-r--r--tests/profiling/GatordMockMain.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/profiling/GatordMockMain.cpp b/tests/profiling/GatordMockMain.cpp
deleted file mode 100644
index b8edeb2b2d..0000000000
--- a/tests/profiling/GatordMockMain.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// Copyright © 2019 Arm Ltd. All rights reserved.
-// SPDX-License-Identifier: MIT
-//
-
-#include "CommandLineProcessor.hpp"
-#include "GatordMockService.hpp"
-
-int main(int argc, char *argv[])
-{
- armnn::gatordmock::CommandLineProcessor cmdline;
- if (!cmdline.ProcessCommandLine(argc, argv))
- {
- return EXIT_FAILURE;
- }
- armnn::gatordmock::GatordMockService mockService;
- if (!mockService.OpenListeningSocket(cmdline.GetUdsNamespace()))
- {
- return EXIT_FAILURE;
- }
- int clientFd = mockService.BlockForOneClient();
- if (-1 == clientFd)
- {
- return EXIT_FAILURE;
- }
- return EXIT_SUCCESS;
-}