1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +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 =
'docker exec -i -u ' . TEST_USER . " ${strImage}" .
" valgrind -q --suppressions=$self->{strBackRestBase}/test/src/valgrind.suppress --leak-check=full" .
" --leak-resolution=high" .
" valgrind -q --gen-suppressions=all --suppressions=$self->{strBackRestBase}/test/src/valgrind.suppress" .
" --leak-check=full --leak-resolution=high" .
" $self->{strGCovPath}/test";
}
else

View File

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