aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Murtagh <francis.murtagh@arm.com>2021-05-11 09:37:47 +0100
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2021-05-11 12:14:15 +0100
commitba84ff970ed92bbf9ade9188bdba5479d5543af8 (patch)
treedfb500ed2b08d6003694d918e745e88ac10f0ae1
parentf99f19dc200474b35cb334d8cdbc62e20d3ea337 (diff)
downloadarmnn-ba84ff970ed92bbf9ade9188bdba5479d5543af8.tar.gz
IVGCVSW-6001 Fix CheckProfilingObjectUids test failing on Ubuntu 21.04
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I68a9397db974c91d29d6c8a8f9b5f7e32950f141
-rw-r--r--src/profiling/test/ProfilingTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp
index 6999650fba..a4a25a84ad 100644
--- a/src/profiling/test/ProfilingTests.cpp
+++ b/src/profiling/test/ProfilingTests.cpp
@@ -815,7 +815,7 @@ BOOST_AUTO_TEST_CASE(CheckProfilingObjectUids)
BOOST_CHECK(nextCounterUids[0] > counterUids[0]);
std::vector<uint16_t> counterUidsMultiCore;
- uint16_t thirdUid = 4;
+ uint16_t thirdUid = nextCounterUids[0];
uint16_t numberOfCores = 13;
BOOST_CHECK_NO_THROW(counterUidsMultiCore = GetNextCounterUids(thirdUid, numberOfCores));
BOOST_CHECK(counterUidsMultiCore.size() == numberOfCores);