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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ] | 106 ] |
107 | 107 |
108 # Lines matching any of the following regular expressions will be ignored. | 108 # Lines matching any of the following regular expressions will be ignored. |
109 # Use uncompiled regular expressions - they'll be compiled later. | 109 # Use uncompiled regular expressions - they'll be compiled later. |
110 IGNORE_LINES = [ | 110 IGNORE_LINES = [ |
111 r'^Validation of asm\.js module failed: .+$', | 111 r'^Validation of asm\.js module failed: .+$', |
112 r'^.*:\d+: Invalid asm.js: .*$', | 112 r'^.*:\d+: Invalid asm.js: .*$', |
113 r'^Warning: unknown flag .*$', | 113 r'^Warning: unknown flag .*$', |
114 r'^Warning: .+ is deprecated.*$', | 114 r'^Warning: .+ is deprecated.*$', |
115 r'^Try --help for options$', | 115 r'^Try --help for options$', |
| 116 |
| 117 # crbug.com/677032 |
| 118 r'^.*:\d+:.*asm\.js.*: success$', |
116 ] | 119 ] |
117 | 120 |
118 | 121 |
119 ############################################################################### | 122 ############################################################################### |
120 # Implementation - you should not need to change anything below this point. | 123 # Implementation - you should not need to change anything below this point. |
121 | 124 |
122 # Compile regular expressions. | 125 # Compile regular expressions. |
123 ALLOWED_LINE_DIFFS = [re.compile(exp) for exp in ALLOWED_LINE_DIFFS] | 126 ALLOWED_LINE_DIFFS = [re.compile(exp) for exp in ALLOWED_LINE_DIFFS] |
124 IGNORE_LINES = [re.compile(exp) for exp in IGNORE_LINES] | 127 IGNORE_LINES = [re.compile(exp) for exp in IGNORE_LINES] |
125 | 128 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 bug = check(IGNORE_OUTPUT.get(arch, {})) | 260 bug = check(IGNORE_OUTPUT.get(arch, {})) |
258 if bug: | 261 if bug: |
259 return bug | 262 return bug |
260 bug = check(IGNORE_OUTPUT.get(config, {})) | 263 bug = check(IGNORE_OUTPUT.get(config, {})) |
261 if bug: | 264 if bug: |
262 return bug | 265 return bug |
263 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) | 266 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) |
264 if bug: | 267 if bug: |
265 return bug | 268 return bug |
266 return None | 269 return None |
OLD | NEW |