diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-17 13:26:21 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-10-17 13:34:28 +0100 |
commit | 6598427f7dc68f2c9ef6d683e80ec4627df52d58 (patch) | |
tree | 8fc60f90d77f45394454f2ab568394a04cac5cff /tests/profiling/gatordmock | |
parent | 7e5eec7d06c1f753b13af653eacd476c0b68efcc (diff) | |
download | armnn-6598427f7dc68f2c9ef6d683e80ec4627df52d58.tar.gz |
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 <matteo.martincigh@arm.com>
Change-Id: I897a80d1f56fbdbc3c714a50a0598210d8f0a03c
Diffstat (limited to 'tests/profiling/gatordmock')
5 files changed, 17 insertions, 16 deletions
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 <CommandHandlerRegistry.hpp> #include <cerrno> #include <fcntl.h> @@ -16,7 +17,6 @@ #include <sys/un.h> #include <unistd.h> - 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 <CommandHandlerRegistry.hpp> +#include <Packet.hpp> + #include <string> #include <thread> #include <atomic> -#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 <iostream> - -#include "../../../src/profiling/ProfilingUtils.hpp" #include "PeriodicCounterCaptureCommandHandler.hpp" +#include <ProfilingUtils.hpp> + #include <boost/numeric/conversion/cast.hpp> +#include <iostream> + 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 <Packet.hpp> +#include <CommandHandlerFunctor.hpp> #include <vector> @@ -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 <CommandHandlerRegistry.hpp> +#include <ProfilingService.hpp> -#include "../../src/profiling/ProfilingService.hpp" -#include "../../src/profiling/test/SendCounterPacketTests.hpp" +#include <test/SendCounterPacketTests.hpp> #include <boost/cast.hpp> #include <boost/test/test_tools.hpp> |