IVGCVSW-2553 Change BOOST_TEST to BOOST_CHECK_MESSAGE in CheckConstTensorPtrs

Change-Id: I13614fe3d29eb1040b5927dd69992aab6c136bb6
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/src/armnn/test/ConstTensorLayerVisitor.cpp b/src/armnn/test/ConstTensorLayerVisitor.cpp
index c34152f..6ab2ea8 100644
--- a/src/armnn/test/ConstTensorLayerVisitor.cpp
+++ b/src/armnn/test/ConstTensorLayerVisitor.cpp
@@ -64,11 +64,11 @@
 {
     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);