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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 # crbug.com/669017 | 107 # crbug.com/669017 |
108 r'^(.*)SyntaxError: .*$', | 108 r'^(.*)SyntaxError: .*$', |
109 | 109 |
110 # Ignore lines of stack traces as character positions might not match. | 110 # Ignore lines of stack traces as character positions might not match. |
111 r'^ at (?:new )?([^:]*):\d+:\d+(.*)$', | 111 r'^ at (?:new )?([^:]*):\d+:\d+(.*)$', |
112 r'^(.*):\d+:(.*)$', | 112 r'^(.*):\d+:(.*)$', |
113 | 113 |
114 # crbug.com/662840 | 114 # crbug.com/662840 |
115 r"^.*(?:Trying to access ')?(\w*)(?:(?:' through proxy)|" | 115 r"^.*(?:Trying to access ')?(\w*)(?:(?:' through proxy)|" |
116 r"(?: is not defined))$", | 116 r"(?: is not defined))$", |
| 117 |
| 118 # crbug.com/680064. This subsumes one of the above expressions. |
| 119 r'^(.*)TypeError: .* function$', |
117 ] | 120 ] |
118 | 121 |
119 # Lines matching any of the following regular expressions will be ignored. | 122 # Lines matching any of the following regular expressions will be ignored. |
120 # Use uncompiled regular expressions - they'll be compiled later. | 123 # Use uncompiled regular expressions - they'll be compiled later. |
121 IGNORE_LINES = [ | 124 IGNORE_LINES = [ |
122 r'^Validation of asm\.js module failed: .+$', | 125 r'^Validation of asm\.js module failed: .+$', |
123 r'^.*:\d+: Invalid asm.js: .*$', | 126 r'^.*:\d+: Invalid asm.js: .*$', |
124 r'^Warning: unknown flag .*$', | 127 r'^Warning: unknown flag .*$', |
125 r'^Warning: .+ is deprecated.*$', | 128 r'^Warning: .+ is deprecated.*$', |
126 r'^Try --help for options$', | 129 r'^Try --help for options$', |
127 | 130 |
128 # crbug.com/677032 | 131 # crbug.com/677032 |
129 r'^.*:\d+:.*asm\.js.*: success$', | 132 r'^.*:\d+:.*asm\.js.*: success$', |
| 133 |
| 134 # crbug.com/680064 |
| 135 r'^\s*at .* \(<anonymous>\)$', |
130 ] | 136 ] |
131 | 137 |
132 | 138 |
133 ############################################################################### | 139 ############################################################################### |
134 # Implementation - you should not need to change anything below this point. | 140 # Implementation - you should not need to change anything below this point. |
135 | 141 |
136 # Compile regular expressions. | 142 # Compile regular expressions. |
137 ALLOWED_LINE_DIFFS = [re.compile(exp) for exp in ALLOWED_LINE_DIFFS] | 143 ALLOWED_LINE_DIFFS = [re.compile(exp) for exp in ALLOWED_LINE_DIFFS] |
138 IGNORE_LINES = [re.compile(exp) for exp in IGNORE_LINES] | 144 IGNORE_LINES = [re.compile(exp) for exp in IGNORE_LINES] |
139 | 145 |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 bug = check(IGNORE_OUTPUT.get(arch, {})) | 286 bug = check(IGNORE_OUTPUT.get(arch, {})) |
281 if bug: | 287 if bug: |
282 return bug | 288 return bug |
283 bug = check(IGNORE_OUTPUT.get(config, {})) | 289 bug = check(IGNORE_OUTPUT.get(config, {})) |
284 if bug: | 290 if bug: |
285 return bug | 291 return bug |
286 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) | 292 bug = check(IGNORE_OUTPUT.get('%s,%s' % (arch, config), {})) |
287 if bug: | 293 if bug: |
288 return bug | 294 return bug |
289 return None | 295 return None |
OLD | NEW |