| OLD | NEW |
| 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 Loading... |
| 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 # Cases of stdlib access going wrong. | 43 # crbug.com/680110 |
| 44 'crbug.com/680110' : '/v8/test/mjsunit/compiler/regress-443744.js', | 44 'crbug.com/680110': '/v8/test/mjsunit/asm/pointer-masking.js', |
| 45 'crbug.com/680110' : '/v8/test/mjsunit/regress/wasm/regression-647649.js', | 45 'crbug.com/680110': '/v8/test/mjsunit/compiler/regress-443744.js', |
| 46 'crbug.com/680110': '/v8/test/mjsunit/regress/wasm/regression-647649.js', |
| 46 } | 47 } |
| 47 | 48 |
| 48 # Ignore by test case pattern. Map from bug->regexp. | 49 # Ignore by test case pattern. Map from bug->regexp. |
| 49 # Regular expressions are assumed to be compiled. We use regexp.match. | 50 # Regular expressions are assumed to be compiled. We use regexp.match. |
| 50 IGNORE_TEST_CASES = { | 51 IGNORE_TEST_CASES = { |
| 51 'crbug.com/662907': | 52 'crbug.com/662907': |
| 52 re.compile(r'.*new Array.*\[\d+\] =.*' | 53 re.compile(r'.*new Array.*\[\d+\] =.*' |
| 53 r'((Array)|(Object)).prototype.__defineSetter__.*', re.S), | 54 r'((Array)|(Object)).prototype.__defineSetter__.*', re.S), |
| 54 | 55 |
| 55 'crbug.com/663340': | 56 'crbug.com/663340': |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 bug = check(IGNORE_OUTPUT.get(arch, {})) | 291 bug = check(IGNORE_OUTPUT.get(arch, {})) |
| 291 if bug: | 292 if bug: |
| 292 return bug | 293 return bug |
| 293 bug = check(IGNORE_OUTPUT.get(config, {})) | 294 bug = check(IGNORE_OUTPUT.get(config, {})) |
| 294 if bug: | 295 if bug: |
| 295 return bug | 296 return bug |
| 296 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) | 297 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) |
| 297 if bug: | 298 if bug: |
| 298 return bug | 299 return bug |
| 299 return None | 300 return None |
| OLD | NEW |