aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/armnn/test/ConstTensorLayerVisitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/armnn/test/ConstTensorLayerVisitor.cpp b/src/armnn/test/ConstTensorLayerVisitor.cpp
index c34152fee5..6ab2ea89a2 100644
--- a/src/armnn/test/ConstTensorLayerVisitor.cpp
+++ b/src/armnn/test/ConstTensorLayerVisitor.cpp
@@ -64,11 +64,11 @@ void TestLstmLayerVisitor::CheckConstTensorPtrs(const std::string& name,
{
if (expected == nullptr)
{
- BOOST_TEST(actual == nullptr, name + " actual should have been a nullptr");
+ BOOST_CHECK_MESSAGE(actual == nullptr, name + " actual should have been a nullptr");
}
else
{
- BOOST_TEST(actual != nullptr, name + " actual should have been set");
+ BOOST_CHECK_MESSAGE(actual != nullptr, name + " actual should have been set");
if (actual != nullptr)
{
CheckConstTensors(*expected, *actual);