12011-10-27 Eric Seidel <eric@webkit.org>
2
3 REGRESSION (NRWT): build.webkit.org doesn't show the total number of leaks found during a test run on the Leaks bot
4 https://bugs.webkit.org/show_bug.cgi?id=66227
5
6 Reviewed by Adam Roben.
7
8 I believe this should fix the bug.
9
10 * Scripts/run-webkit-tests: make NRWT default for --leaks
11 * Scripts/webkitpy/layout_tests/port/leakdetector.py:
12 (LeakDetector._parse_leaks_output): removed the (unneeded) process_pid argument, and made the regexp use named groups (even though we don't ever grab them by name)
13 (LeakDetector.count_total_bytes_and_unique_leaks): renamed from parse_leak_files
14 (LeakDetector.count_total_leaks): new file (the guts of this change) which is used to re-parse the leaks output during the summarize leaks phase.
15 * Scripts/webkitpy/layout_tests/port/leakdetector_unittest.py:
16 Changes to reflect the rename of count_total_bytes_and_unique_leaks and a new test for count_total_leaks.
17 * Scripts/webkitpy/layout_tests/port/mac.py:
18 Use count_total_leaks to spit out the total leak count like ORWT did, and remove the FIXME on the subject.
19