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

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

Issue 2638913002: [foozzie] Suppress crbug.com/681806 (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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 # suppressions. 79 # suppressions.
80 # Bug is preferred to be a crbug.com/XYZ, but can be any short distinguishable 80 # Bug is preferred to be a crbug.com/XYZ, but can be any short distinguishable
81 # label. 81 # label.
82 # Regular expressions are assumed to be compiled. We use regexp.search. 82 # Regular expressions are assumed to be compiled. We use regexp.search.
83 IGNORE_OUTPUT = { 83 IGNORE_OUTPUT = {
84 '': { 84 '': {
85 'crbug.com/664068': 85 'crbug.com/664068':
86 re.compile(r'RangeError', re.S), 86 re.compile(r'RangeError', re.S),
87 'crbug.com/667678': 87 'crbug.com/667678':
88 re.compile(r'\[native code\]', re.S), 88 re.compile(r'\[native code\]', re.S),
89 'crbug.com/681806':
90 re.compile(r'\[object WebAssembly\.Instance\]', re.S),
89 }, 91 },
90 'validate_asm': { 92 'validate_asm': {
91 'validate_asm': 93 'validate_asm':
92 re.compile(r'TypeError'), 94 re.compile(r'TypeError'),
93 }, 95 },
94 } 96 }
95 97
96 # Lines matching any of the following regular expressions will be ignored 98 # Lines matching any of the following regular expressions will be ignored
97 # if appearing on both sides. The capturing groups need to match exactly. 99 # if appearing on both sides. The capturing groups need to match exactly.
98 # Use uncompiled regular expressions - they'll be compiled later. 100 # Use uncompiled regular expressions - they'll be compiled later.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 bug = check(IGNORE_OUTPUT.get(arch, {})) 321 bug = check(IGNORE_OUTPUT.get(arch, {}))
320 if bug: 322 if bug:
321 return bug 323 return bug
322 bug = check(IGNORE_OUTPUT.get(config, {})) 324 bug = check(IGNORE_OUTPUT.get(config, {}))
323 if bug: 325 if bug:
324 return bug 326 return bug
325 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) 327 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {}))
326 if bug: 328 if bug:
327 return bug 329 return bug
328 return None 330 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