mirror of
https://github.com/curl/curl.git
synced 2026-07-30 05:48:03 +03:00
tests: raise two memory limits
Runing the tests locally without valgrind test 518 and 537 would run over their limits. Plus init a variable in runtests.pl to avoid a warning output. Closes #17919
This commit is contained in:
parent
826a32dff3
commit
96294df02a
3 changed files with 7 additions and 1 deletions
|
|
@ -63,5 +63,8 @@ Accept: */*
|
|||
<valgrind>
|
||||
disable
|
||||
</valgrind>
|
||||
<limits>
|
||||
Maximum allocated: 1100000
|
||||
</limits>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -60,5 +60,8 @@ Host: %HOSTIP:%HTTPPORT
|
|||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<limits>
|
||||
Maximum allocated: 3200000
|
||||
</limits>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -1700,7 +1700,7 @@ sub singletest_check {
|
|||
}
|
||||
my @more=`$memanalyze -v "$logdir/$MEMDUMP"`;
|
||||
my $allocs;
|
||||
my $max;
|
||||
my $max = 0;
|
||||
for(@more) {
|
||||
if(/^Allocations: (\d+)/) {
|
||||
$allocs = $1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue