From 13d2e0d39f6d8c923f5b92984ce52ee6e14f5436 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Tue, 28 Sep 2021 15:11:28 +0100 Subject: 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 Change-Id: Iff2ef286ba5ad0e0ec0f54f510253a2ec4b464d3 --- src/armnn/test/TestLayerVisitor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/armnn/test') 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); -- cgit v1.2.1