1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Generate suppressions when running Valgrind.

This makes it easier to suppress errors that are only occurring on Travis.
This commit is contained in:
David Steele
2018-02-14 09:18:27 -05:00
parent 00e9aca872
commit 5242e8eec5
2 changed files with 6 additions and 6 deletions

View File

@@ -202,8 +202,8 @@ sub run
{ {
$strCommand = $strCommand =
'docker exec -i -u ' . TEST_USER . " ${strImage}" . 'docker exec -i -u ' . TEST_USER . " ${strImage}" .
" valgrind -q --suppressions=$self->{strBackRestBase}/test/src/valgrind.suppress --leak-check=full" . " valgrind -q --gen-suppressions=all --suppressions=$self->{strBackRestBase}/test/src/valgrind.suppress" .
" --leak-resolution=high" . " --leak-check=full --leak-resolution=high" .
" $self->{strGCovPath}/test"; " $self->{strGCovPath}/test";
} }
else else

View File

@@ -1,6 +1,6 @@
{ {
ignore_libcrypto_leaks ignore_libcrypto_leaks
Memcheck:Leak Memcheck:Leak
... ...
obj:*/libcrypto.so.* obj:*/libcrypto.so*
} }