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

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

Issue 2632223002: [foozzie] Add test suppressions (Closed)
Patch Set: moar 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 22 matching lines...) Expand all
33 # For ignoring lines before carets and to ignore caret positions. 33 # For ignoring lines before carets and to ignore caret positions.
34 CARET_RE = re.compile(r'^\s*\^\s*$') 34 CARET_RE = re.compile(r'^\s*\^\s*$')
35 35
36 # Ignore by original source files. Map from bug->relative file paths in V8, 36 # Ignore by original source files. Map from bug->relative file paths in V8,
37 # e.g. '/v8/test/mjsunit/d8-performance-now.js' including /v8/. A test will 37 # e.g. '/v8/test/mjsunit/d8-performance-now.js' including /v8/. A test will
38 # be suppressed if one of the files below was used to mutate the test. 38 # be suppressed if one of the files below was used to mutate the test.
39 IGNORE_SOURCES = { 39 IGNORE_SOURCES = {
40 # This contains a usage of f.arguments that often fires. 40 # This contains a usage of f.arguments that often fires.
41 'crbug.com/662424': '/v8/test/mjsunit/regress/regress-2989.js', 41 'crbug.com/662424': '/v8/test/mjsunit/regress/regress-2989.js',
42 42
43 # crbug.com/680110 43 # crbug.com/681088
44 'crbug.com/680110': '/v8/test/mjsunit/asm/pointer-masking.js', 44 'crbug.com/681088': '/v8/test/mjsunit/asm/asm-validation.js',
45 'crbug.com/680110': '/v8/test/mjsunit/compiler/regress-443744.js', 45 'crbug.com/681088': '/v8/test/mjsunit/asm/b5528-comma.js',
46 'crbug.com/680110': '/v8/test/mjsunit/regress/wasm/regression-647649.js', 46 'crbug.com/681088': '/v8/test/mjsunit/asm/pointer-masking.js',
47 'crbug.com/681088': '/v8/test/mjsunit/compiler/regress-443744.js',
48 'crbug.com/681088': '/v8/test/mjsunit/regress/regress-599719.js',
49 'crbug.com/681088': '/v8/test/mjsunit/regress/wasm/regression-647649.js',
50 'crbug.com/681088': '/v8/test/mjsunit/wasm/asm-wasm.js',
51 'crbug.com/681088': '/v8/test/mjsunit/wasm/asm-wasm-deopt.js',
52 'crbug.com/681088': '/v8/test/mjsunit/wasm/asm-wasm-heap.js',
53 'crbug.com/681088': '/v8/test/mjsunit/wasm/asm-wasm-literals.js',
54 'crbug.com/681088': '/v8/test/mjsunit/wasm/asm-wasm-stack.js',
55
Michael Achenbach 2017/01/18 10:35:28 lol, overwriting a dict key. oh well, will come up
56 # crbug.com/681236
57 'crbug.com/681236': '/v8/test/mjsunit/wasm/asm-wasm-switch.js',
47 } 58 }
48 59
49 # Ignore by test case pattern. Map from bug->regexp. 60 # Ignore by test case pattern. Map from bug->regexp.
50 # Regular expressions are assumed to be compiled. We use regexp.match. 61 # Regular expressions are assumed to be compiled. We use regexp.match.
51 # Make sure the code doesn't match in the preamble portion of the test case 62 # Make sure the code doesn't match in the preamble portion of the test case
52 # (i.e. in the modified inlined mjsunit.js). You can reference the comment 63 # (i.e. in the modified inlined mjsunit.js). You can reference the comment
53 # between the two parts like so: 64 # between the two parts like so:
54 # 'crbug.com/666308': 65 # 'crbug.com/666308':
55 # re.compile(r'.*End stripped down and modified version.*' 66 # re.compile(r'.*End stripped down and modified version.*'
56 # r'\.prototype.*instanceof.*.*', re.S) 67 # r'\.prototype.*instanceof.*.*', re.S)
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 bug = check(IGNORE_OUTPUT.get(arch, {})) 319 bug = check(IGNORE_OUTPUT.get(arch, {}))
309 if bug: 320 if bug:
310 return bug 321 return bug
311 bug = check(IGNORE_OUTPUT.get(config, {})) 322 bug = check(IGNORE_OUTPUT.get(config, {}))
312 if bug: 323 if bug:
313 return bug 324 return bug
314 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) 325 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {}))
315 if bug: 326 if bug:
316 return bug 327 return bug
317 return None 328 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