From 6598427f7dc68f2c9ef6d683e80ec4627df52d58 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 17 Oct 2019 13:26:21 +0100 Subject: IVGCVSW-3400 Fixed include directives for Gatord builds * Using proper include directives with include paths * The relative paths used were causing trouble when building on other CI systems Signed-off-by: Matteo Martincigh Change-Id: I897a80d1f56fbdbc3c714a50a0598210d8f0a03c --- tests/profiling/gatordmock/GatordMockService.cpp | 4 ++-- tests/profiling/gatordmock/GatordMockService.hpp | 6 +++--- .../gatordmock/PeriodicCounterCaptureCommandHandler.cpp | 9 +++++---- .../gatordmock/PeriodicCounterCaptureCommandHandler.hpp | 6 +++--- tests/profiling/gatordmock/tests/GatordMockTests.cpp | 8 ++++---- 5 files changed, 17 insertions(+), 16 deletions(-) (limited to 'tests') diff --git a/tests/profiling/gatordmock/GatordMockService.cpp b/tests/profiling/gatordmock/GatordMockService.cpp index f4146c2e38..b5531c4e08 100644 --- a/tests/profiling/gatordmock/GatordMockService.cpp +++ b/tests/profiling/gatordmock/GatordMockService.cpp @@ -2,9 +2,10 @@ // Copyright © 2019 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // + #include "GatordMockService.hpp" -#include "../../src/profiling/CommandHandlerRegistry.hpp" +#include #include #include @@ -16,7 +17,6 @@ #include #include - namespace armnn { diff --git a/tests/profiling/gatordmock/GatordMockService.hpp b/tests/profiling/gatordmock/GatordMockService.hpp index 1aba2e8a09..c860f16815 100644 --- a/tests/profiling/gatordmock/GatordMockService.hpp +++ b/tests/profiling/gatordmock/GatordMockService.hpp @@ -5,13 +5,13 @@ #pragma once +#include +#include + #include #include #include -#include "../../src/profiling/CommandHandlerRegistry.hpp" -#include "../../src/profiling/Packet.hpp" - namespace armnn { diff --git a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp index 5a70f68805..f3bf7960ea 100644 --- a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp +++ b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp @@ -3,13 +3,14 @@ // SPDX-License-Identifier: MIT // -#include - -#include "../../../src/profiling/ProfilingUtils.hpp" #include "PeriodicCounterCaptureCommandHandler.hpp" +#include + #include +#include + namespace armnn { @@ -144,4 +145,4 @@ void PeriodicCounterCaptureCommandHandler::operator()(const profiling::Packet& p } // namespace gatordmock -} // namespace armnn \ No newline at end of file +} // namespace armnn diff --git a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp index 7f46d8e102..7d6471bf91 100644 --- a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp +++ b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp @@ -5,8 +5,8 @@ #pragma once -#include "../../armnn/src/profiling/Packet.hpp" -#include "../../armnn/src/profiling/CommandHandlerFunctor.hpp" +#include +#include #include @@ -51,4 +51,4 @@ private: } // namespace gatordmock -} // namespace armnn \ No newline at end of file +} // namespace armnn diff --git a/tests/profiling/gatordmock/tests/GatordMockTests.cpp b/tests/profiling/gatordmock/tests/GatordMockTests.cpp index 66778cd087..a6297e94b8 100644 --- a/tests/profiling/gatordmock/tests/GatordMockTests.cpp +++ b/tests/profiling/gatordmock/tests/GatordMockTests.cpp @@ -3,14 +3,14 @@ // SPDX-License-Identifier: MIT // +#include "../GatordMockService.hpp" #include "../MockUtils.hpp" #include "../PeriodicCounterCaptureCommandHandler.hpp" -#include "../../src/profiling/CommandHandlerRegistry.hpp" -#include "../GatordMockService.hpp" +#include +#include -#include "../../src/profiling/ProfilingService.hpp" -#include "../../src/profiling/test/SendCounterPacketTests.hpp" +#include #include #include -- cgit v1.2.1