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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 # Ignore lines of stack traces as character positions might not match. | 108 # Ignore lines of stack traces as character positions might not match. |
109 r'^ at (?:new )?([^:]*):\d+:\d+(.*)$', | 109 r'^ at (?:new )?([^:]*):\d+:\d+(.*)$', |
110 r'^(.*):\d+:(.*)$', | 110 r'^(.*):\d+:(.*)$', |
111 | 111 |
112 # crbug.com/662840 | 112 # crbug.com/662840 |
113 r"^.*(?:Trying to access ')?(\w*)(?:(?:' through proxy)|" | 113 r"^.*(?:Trying to access ')?(\w*)(?:(?:' through proxy)|" |
114 r"(?: is not defined))$", | 114 r"(?: is not defined))$", |
115 | 115 |
116 # crbug.com/680064. This subsumes one of the above expressions. | 116 # crbug.com/680064. This subsumes one of the above expressions. |
117 r'^(.*)TypeError: .* function$', | 117 r'^(.*)TypeError: .* function$', |
| 118 |
| 119 # crbug.com/681326 |
| 120 r'^(.*<anonymous>):\d+:\d+(.*)$', |
118 ] | 121 ] |
119 | 122 |
120 # Lines matching any of the following regular expressions will be ignored. | 123 # Lines matching any of the following regular expressions will be ignored. |
121 # Use uncompiled regular expressions - they'll be compiled later. | 124 # Use uncompiled regular expressions - they'll be compiled later. |
122 IGNORE_LINES = [ | 125 IGNORE_LINES = [ |
123 r'^Validation of asm\.js module failed: .+$', | 126 r'^Validation of asm\.js module failed: .+$', |
124 r'^.*:\d+: Invalid asm.js: .*$', | 127 r'^.*:\d+: Invalid asm.js: .*$', |
125 r'^Warning: unknown flag .*$', | 128 r'^Warning: unknown flag .*$', |
126 r'^Warning: .+ is deprecated.*$', | 129 r'^Warning: .+ is deprecated.*$', |
127 r'^Try --help for options$', | 130 r'^Try --help for options$', |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 bug = check(IGNORE_OUTPUT.get(arch, {})) | 308 bug = check(IGNORE_OUTPUT.get(arch, {})) |
306 if bug: | 309 if bug: |
307 return bug | 310 return bug |
308 bug = check(IGNORE_OUTPUT.get(config, {})) | 311 bug = check(IGNORE_OUTPUT.get(config, {})) |
309 if bug: | 312 if bug: |
310 return bug | 313 return bug |
311 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) | 314 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) |
312 if bug: | 315 if bug: |
313 return bug | 316 return bug |
314 return None | 317 return None |
OLD | NEW |