diff --git a/src/test/obj_tx_add_range/memcheck3.log.match b/src/test/obj_tx_add_range/memcheck3.log.match
index c390bd14feab38fbf48b1d216b6e374919876cf8..9b052a71bbe3d5b682d619db3e4e97b6a1bdb20e 100644
--- a/src/test/obj_tx_add_range/memcheck3.log.match
+++ b/src/test/obj_tx_add_range/memcheck3.log.match
@@ -24,11 +24,17 @@
 ==$(*)== 
 ==$(*)== 
 ==$(*)== HEAP SUMMARY:
-==$(*)==     in use at exit: 0 bytes in 0 blocks
+==$(*)==     in use at exit: $(*) bytes in $(*) blocks
 ==$(*)==   total heap usage: $(*) allocs, $(*) frees, $(*) bytes allocated
 ==$(*)== 
-==$(*)== All heap blocks were freed -- no leaks are possible
+$(OPT)==$(*)== All heap blocks were freed -- no leaks are possible
+$(OPX)==$(*)== LEAK SUMMARY:
+$(OPT)==$(*)==    definitely lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==    indirectly lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==      possibly lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==    still reachable: 0 bytes in 0 blocks
+$(OPT)==$(*)==         suppressed: $(*) bytes in $(*) blocks
 ==$(*)== 
 ==$(*)== Use --track-origins=yes to see where uninitialised values come from
 $(OPT)==$(*)== For lists of detected and suppressed errors, rerun with: -s
-==$(*)== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+==$(*)== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: $(*) from $(*))
diff --git a/src/test/obj_tx_add_range_direct/memcheck2.log.match b/src/test/obj_tx_add_range_direct/memcheck2.log.match
index 9b77d7c2546ab3d2a6f5fa776fd818916da89311..436133d13adc18a0178b0abd13be37f41e6becc7 100644
--- a/src/test/obj_tx_add_range_direct/memcheck2.log.match
+++ b/src/test/obj_tx_add_range_direct/memcheck2.log.match
@@ -24,11 +24,17 @@
 ==$(*)== 
 ==$(*)== 
 ==$(*)== HEAP SUMMARY:
-==$(*)==     in use at exit: 0 bytes in 0 blocks
+==$(*)==     in use at exit: $(*) bytes in $(*) blocks
 ==$(*)==   total heap usage: $(*) allocs, $(*) frees, $(*) bytes allocated
 ==$(*)== 
-==$(*)== All heap blocks were freed -- no leaks are possible
+$(OPT)==$(*)== All heap blocks were freed -- no leaks are possible
+$(OPX)==$(*)== LEAK SUMMARY:
+$(OPT)==$(*)==    definitely lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==    indirectly lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==      possibly lost: 0 bytes in 0 blocks
+$(OPT)==$(*)==    still reachable: 0 bytes in 0 blocks
+$(OPT)==$(*)==         suppressed: $(*) bytes in $(*) blocks
 ==$(*)== 
 ==$(*)== Use --track-origins=yes to see where uninitialised values come from
 $(OPT)==$(*)== For lists of detected and suppressed errors, rerun with: -s
-==$(*)== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+==$(*)== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: $(*) from $(*))