You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-01 00:25:06 +02:00
Don't perform valgrind when requested.
The --no-valgrind flag was not being honored. It's not clear if this flag ever worked, but it does now.
This commit is contained in:
@ -105,6 +105,10 @@
|
||||
<p>Make Valgrind return an error even when a non-fatal issue is detected. Update some minor issues discovered in the tests as a result.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Don't perform valgrind when requested.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Fix typo in unit test error messages, EXECTED => EXPECTED.</p>
|
||||
</release-item>
|
||||
|
@ -236,8 +236,8 @@ sub run
|
||||
$strCommand =
|
||||
'docker exec -i -u ' . TEST_USER . " ${strImage} bash -l -c '" .
|
||||
"cd $self->{strGCovPath} && " .
|
||||
"make -s 2>&1 && " .
|
||||
($self->{oTest}->{&TEST_VM} ne VM_CO6 ?
|
||||
"make -s 2>&1 &&" .
|
||||
($self->{oTest}->{&TEST_VM} ne VM_CO6 && $self->{bValgrindUnit}?
|
||||
" valgrind -q --gen-suppressions=all --suppressions=$self->{strBackRestBase}/test/src/valgrind.suppress" .
|
||||
" --leak-check=full --leak-resolution=high --error-exitcode=25" : '') .
|
||||
" ./test 2>&1'";
|
||||
|
Reference in New Issue
Block a user