Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2172)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 148153009: DOM-object leak detection at run_webkit_tests.py (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bug fix: unit test Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/Scripts/webkitpy/layout_tests/port/base.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/base.py b/Tools/Scripts/webkitpy/layout_tests/port/base.py
index ec0853a26c1d22071f62cd8cc45b1aea60684025..a04bc2b2ead2199e7ae1e7c4aa45313027a4a281 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/base.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/base.py
@@ -1505,6 +1505,10 @@ class Port(object):
'\n'.join(('STDOUT: ' + l) for l in stdout_lines),
'\n'.join(('STDERR: ' + l) for l in stderr_lines)))
+ def _get_leak_log(self, name, pid, stdout, stderr, newer_than):
+ match = re.match('#LEAK - (\S+) pid (\d+) (.+)\n', stderr)
+ return (stderr, match.group(3))
+
def look_for_new_crash_logs(self, crashed_processes, start_time):
pass

Powered by Google App Engine
This is Rietveld 408576698