aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/test/TestLayerVisitor.cpp
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2021-09-28 15:11:28 +0100
committerColm Donelan <colm.donelan@arm.com>2021-10-12 14:46:23 +0000
commit13d2e0d39f6d8c923f5b92984ce52ee6e14f5436 (patch)
treeb71f219ee2f853c149bd554f8983d9566de0d61e /src/armnn/test/TestLayerVisitor.cpp
parent26f64fe7ba9204529c360a1950ac9e58dd507ae0 (diff)
downloadarmnn-13d2e0d39f6d8c923f5b92984ce52ee6e14f5436.tar.gz
Github 581 - Upgrade doctest
* Upgrade doctest to version 2.4.6 to allow Arm NN to build with glibc 2.34 Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Iff2ef286ba5ad0e0ec0f54f510253a2ec4b464d3
Diffstat (limited to 'src/armnn/test/TestLayerVisitor.cpp')
-rw-r--r--src/armnn/test/TestLayerVisitor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/test/TestLayerVisitor.cpp b/src/armnn/test/TestLayerVisitor.cpp
index d5f705f0da..25ad5884c8 100644
--- a/src/armnn/test/TestLayerVisitor.cpp
+++ b/src/armnn/test/TestLayerVisitor.cpp
@@ -75,11 +75,11 @@ void TestLayerVisitor::CheckConstTensorPtrs(const std::string& name,
{
if (expected == nullptr)
{
- CHECK_MESSAGE(actual == nullptr, name + " actual should have been a nullptr");
+ CHECK_MESSAGE(actual == nullptr, (name + " actual should have been a nullptr"));
}
else
{
- CHECK_MESSAGE(actual != nullptr, name + " actual should have been set");
+ CHECK_MESSAGE(actual != nullptr, (name + " actual should have been set"));
if (actual != nullptr)
{
CheckConstTensors(*expected, *actual);
@@ -93,11 +93,11 @@ void TestLayerVisitor::CheckConstTensorPtrs(const std::string& name,
{
if (expected == nullptr)
{
- CHECK_MESSAGE(actual == nullptr, name + " actual should have been a nullptr");
+ CHECK_MESSAGE(actual == nullptr, (name + " actual should have been a nullptr"));
}
else
{
- CHECK_MESSAGE(actual != nullptr, name + " actual should have been set");
+ CHECK_MESSAGE(actual != nullptr, (name + " actual should have been set"));
if (actual != nullptr)
{
CheckConstTensors(*expected, *actual);