aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2022-03-10 23:13:01 +0000
committerJim Flynn <jim.flynn@arm.com>2022-03-12 15:14:48 +0000
commit6c9f17dc5fe58e23db0ba591302168766b38ab2a (patch)
tree50b302f1bdfcce997a2b8330a8142d6858c672d5 /src/armnn/test
parent6730fe9cbc195f054d697b25daba8516d70658e0 (diff)
downloadarmnn-6c9f17dc5fe58e23db0ba591302168766b38ab2a.tar.gz
IVGCVSW-6843 replace armnn::Logging with arm::pipe::Logging in profiling code
Change-Id: I9c3af46ca02c5685e06657b8af0e4658d71891d4 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/armnn/test')
-rw-r--r--src/armnn/test/RuntimeTests.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/armnn/test/RuntimeTests.cpp b/src/armnn/test/RuntimeTests.cpp
index 9cf322c98f..89a87197bd 100644
--- a/src/armnn/test/RuntimeTests.cpp
+++ b/src/armnn/test/RuntimeTests.cpp
@@ -13,7 +13,6 @@
#include <Runtime.hpp>
#include <armnn/TypesUtils.hpp>
-
#include <common/include/LabelsAndEventClasses.hpp>
#include <test/ProfilingTestUtils.hpp>
@@ -36,7 +35,7 @@ void RuntimeLoadedNetworksReserve(armnn::RuntimeImpl* runtime)
runtime->m_LoadedNetworks.reserve(1);
}
-}
+} // namespace armnn
TEST_SUITE("Runtime")
{
@@ -600,6 +599,8 @@ TEST_CASE("ProfilingDisable")
{
using namespace armnn;
+ LogLevelSwapper logLevelSwapper(arm::pipe::LogSeverity::Fatal);
+
// Create runtime in which the test will run
armnn::IRuntime::CreationOptions options;
armnn::RuntimeImpl runtime(options);