Skip to content
Snippets Groups Projects
Commit d3830af0 authored by Igor Chorążewicz's avatar Igor Chorążewicz
Browse files

test: fix memcheck.log.match in obj_tx_add_range(_direct) tests

On some systems (for example OpenSUSE) memcheck generates errors
which we are suppressing. This patch adds optional lines to
memcheck.log.match to match those suppressed errors.

Fixes test introduced in: https://github.com/pmem/pmdk/pull/3921
parent 5815618f
No related branches found
No related tags found
No related merge requests found
......@@ -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 $(*))
......@@ -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 $(*))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment