run-leaks does not work on Lion?
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Nov 2011 20:08:53 +0000 (20:08 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Nov 2011 20:08:53 +0000 (20:08 +0000)
commit8053938b2437c39948817a8ef1f91e7d34b9e643
treeba361a46c2d201887d91335f71aab77cbc5a290e
parent183b460166b2e7226716755a380ae67258ec2896
run-leaks does not work on Lion?
<http://webkit.org/b/71059>
<rdar://problem/10428527>

Reviewed by Adam Roben.

The output of leaks(1) changed again in Lion to move the
"leaks Report Version: 2.0" line from the first line of the
output to just above the "Process " lines that run-leaks is
interested in parsing.  This required using a more generic
algorithm to find the start of the "Process " lines.

* Scripts/run-leaks:
(parseLeaksOutput): Make the code to skip headers more generic.
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl: Added.
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl: Added.
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/run-leaks
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl [new file with mode: 0644]
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl [new file with mode: 0644]
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl [new file with mode: 0644]