IVGCVSW-4582 Undefined reference to GetProfilingService causes failure in the Backends CI job
* Enable the GetProfilingService() function to BackendProfilingTests and ProfilingTestUtils
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I32e3625db0f465883f2ec27fb7c2fad4e91b6306
diff --git a/src/backends/backendsCommon/test/BackendProfilingTests.cpp b/src/backends/backendsCommon/test/BackendProfilingTests.cpp
index 1cf67c0..7c78e14 100644
--- a/src/backends/backendsCommon/test/BackendProfilingTests.cpp
+++ b/src/backends/backendsCommon/test/BackendProfilingTests.cpp
@@ -14,7 +14,7 @@
#include "ProfilingUtils.hpp"
#include "RequestCounterDirectoryCommandHandler.hpp"
-#include <Runtime.hpp>
+#include <test/TestUtils.hpp>
#include <armnn/utility/IgnoreUnused.hpp>
#include <armnn/BackendId.hpp>
@@ -119,7 +119,6 @@
armnn::MockBackendInitialiser initialiser;
// Create a runtime
-// armnn::IRuntimePtr runtime(armnn::IRuntime::Create(options));
armnn::Runtime runtime(options);
// Check if the MockBackends 3 dummy counters {0, 1, 2-5 (four cores)} are registered