projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09b5dda
)
supprt for the new memlimit stuff
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 14 Aug 2003 22:38:03 +0000
(22:38 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 14 Aug 2003 22:38:03 +0000
(22:38 +0000)
tests/memanalyze.pl
patch
|
blob
|
history
diff --git
a/tests/memanalyze.pl
b/tests/memanalyze.pl
index c354a5687ae11cafd29ab915d19979e911e28a38..dff25a8b2e36c293ea903e0440ca4542f8d247dd 100755
(executable)
--- a/
tests/memanalyze.pl
+++ b/
tests/memanalyze.pl
@@
-45,7
+45,15
@@
while(<FILE>) {
chomp $_;
$line = $_;
- if($line =~ /^MEM ([^ ]*):(\d*) (.*)/) {
+ if($line =~ /^LIMIT ([^ ]*):(\d*) (.*)/) {
+ # new memory limit test prefix
+ my $i = $3;
+ my ($source, $linenum) = ($1, $2);
+ if($trace && ($i =~ /([^ ]*) reached memlimit/)) {
+ print "LIMIT: $1 returned error at $source:$linenum\n";
+ }
+ }
+ elsif($line =~ /^MEM ([^ ]*):(\d*) (.*)/) {
# generic match for the filename+linenumber
$source = $1;
$linenum = $2;