aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/BackendProfilingTests.cpp
diff options
context:
space:
mode:
authorTracy Narine <tracy.narine@arm.com>2024-02-26 15:05:11 +0000
committerTracy Narine <tracy.narine@arm.com>2024-02-28 14:17:52 +0000
commit2883a86c5a167aea3c736529bff5921ab6cbc99c (patch)
treed9e000d96246c622d82e185af186a0bf64b2896c /src/backends/backendsCommon/test/BackendProfilingTests.cpp
parentc24577b21f4e8f4a1253632e31dea5d39a17ca26 (diff)
downloadarmnn-2883a86c5a167aea3c736529bff5921ab6cbc99c.tar.gz
IVGCVSW-8172 Add macOS support to build tool setup
* Updates build rules for platform * Failing unit tests excluded (dynamic backends, profiling) * install-packages.sh generates manual setup information Signed-off-by: Tracy Narine <tracy.narine@arm.com> Change-Id: I2d3d434aa615a8796c0cb94cd5b9c35a5acfd148
Diffstat (limited to 'src/backends/backendsCommon/test/BackendProfilingTests.cpp')
-rw-r--r--src/backends/backendsCommon/test/BackendProfilingTests.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backends/backendsCommon/test/BackendProfilingTests.cpp b/src/backends/backendsCommon/test/BackendProfilingTests.cpp
index 439eff0a79..5b9c5e89f1 100644
--- a/src/backends/backendsCommon/test/BackendProfilingTests.cpp
+++ b/src/backends/backendsCommon/test/BackendProfilingTests.cpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2020, 2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2020, 2023-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -155,6 +155,9 @@ arm::pipe::Packet PacketWriter(uint32_t period, std::vector<uint16_t> counterval
TEST_SUITE("BackendProfilingTestSuite")
{
+
+#if !defined(__APPLE__)
+
TEST_CASE("BackendProfilingCounterRegisterMockBackendTest")
{
arm::pipe::LogLevelSwapper logLevelSwapper(arm::pipe::LogSeverity::Fatal);
@@ -180,6 +183,8 @@ TEST_CASE("BackendProfilingCounterRegisterMockBackendTest")
ConvertExternalProfilingOptions(options.m_ProfilingOptions), true);
}
+#endif
+
TEST_CASE("TestBackendCounters")
{
arm::pipe::LogLevelSwapper logLevelSwapper(arm::pipe::LogSeverity::Fatal);
@@ -504,6 +509,8 @@ TEST_CASE("TestBackendCounterLogging")
CHECK(ss.str().find("ActivateCounters example test error") != std::string::npos);
}
+#if !defined(__APPLE__)
+
TEST_CASE("BackendProfilingContextGetSendTimelinePacket")
{
arm::pipe::LogLevelSwapper logLevelSwapper(arm::pipe::LogSeverity::Fatal);
@@ -578,4 +585,6 @@ TEST_CASE("GetProfilingGuidGenerator")
options.m_ProfilingOptions.m_EnableProfiling = false;
}
+#endif
+
}