Changed valgrind script to match changed output format
Review URL: http://codereview.chromium.org/214006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2915 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
fbc89caf3f
commit
425cd77c40
@ -58,7 +58,7 @@ if code != 0:
|
|||||||
# have any definitely, indirectly, and possibly lost bytes.
|
# have any definitely, indirectly, and possibly lost bytes.
|
||||||
LEAK_RE = r"(?:definitely|indirectly|possibly) lost: "
|
LEAK_RE = r"(?:definitely|indirectly|possibly) lost: "
|
||||||
LEAK_LINE_MATCHER = re.compile(LEAK_RE)
|
LEAK_LINE_MATCHER = re.compile(LEAK_RE)
|
||||||
LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks.")
|
LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")
|
||||||
leaks = []
|
leaks = []
|
||||||
for line in errors:
|
for line in errors:
|
||||||
if LEAK_LINE_MATCHER.search(line):
|
if LEAK_LINE_MATCHER.search(line):
|
||||||
|
Loading…
Reference in New Issue
Block a user