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

Side by Side Diff: tools/foozzie/v8_suppressions.py

Issue 2633313002: [foozzie] Suppress native function string representation (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 the V8 project authors. All rights reserved. 1 # Copyright 2016 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """ 5 """
6 Suppressions for V8 correctness fuzzer failures. 6 Suppressions for V8 correctness fuzzer failures.
7 7
8 We support three types of suppressions: 8 We support three types of suppressions:
9 1. Ignore test case by pattern. 9 1. Ignore test case by pattern.
10 Map a regular expression to a bug entry. A new failure will be reported 10 Map a regular expression to a bug entry. A new failure will be reported
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 # e.g. fullcode or validate_asm or an architecture, e.g. x64 or ia32 or a 66 # e.g. fullcode or validate_asm or an architecture, e.g. x64 or ia32 or a
67 # comma-separated combination, e.g. x64,fullcode, for more specific 67 # comma-separated combination, e.g. x64,fullcode, for more specific
68 # suppressions. 68 # suppressions.
69 # Bug is preferred to be a crbug.com/XYZ, but can be any short distinguishable 69 # Bug is preferred to be a crbug.com/XYZ, but can be any short distinguishable
70 # label. 70 # label.
71 # Regular expressions are assumed to be compiled. We use regexp.search. 71 # Regular expressions are assumed to be compiled. We use regexp.search.
72 IGNORE_OUTPUT = { 72 IGNORE_OUTPUT = {
73 '': { 73 '': {
74 'crbug.com/664068': 74 'crbug.com/664068':
75 re.compile(r'RangeError', re.S), 75 re.compile(r'RangeError', re.S),
76 'crbug.com/667678':
77 re.compile(r'\[native code\]', re.S),
76 }, 78 },
77 'validate_asm': { 79 'validate_asm': {
78 'validate_asm': 80 'validate_asm':
79 re.compile(r'TypeError'), 81 re.compile(r'TypeError'),
80 }, 82 },
81 } 83 }
82 84
83 # Lines matching any of the following regular expressions will be ignored 85 # Lines matching any of the following regular expressions will be ignored
84 # if appearing on both sides. The capturing groups need to match exactly. 86 # if appearing on both sides. The capturing groups need to match exactly.
85 # Use uncompiled regular expressions - they'll be compiled later. 87 # Use uncompiled regular expressions - they'll be compiled later.
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 bug = check(IGNORE_OUTPUT.get(arch, {})) 305 bug = check(IGNORE_OUTPUT.get(arch, {}))
304 if bug: 306 if bug:
305 return bug 307 return bug
306 bug = check(IGNORE_OUTPUT.get(config, {})) 308 bug = check(IGNORE_OUTPUT.get(config, {}))
307 if bug: 309 if bug:
308 return bug 310 return bug
309 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) 311 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {}))
310 if bug: 312 if bug:
311 return bug 313 return bug
312 return None 314 return None
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698