OLD | NEW |
1 # | 1 # |
2 # Copyright 2015 Google Inc. | 2 # Copyright 2015 Google Inc. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 #!/usr/bin/env python | 8 #!/usr/bin/env python |
9 | 9 |
10 usage = ''' | 10 usage = ''' |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 match.append('~imagefilterscropexpand') | 184 match.append('~imagefilterscropexpand') |
185 match.append('~scaled_tilemodes_npot') | 185 match.append('~scaled_tilemodes_npot') |
186 match.append('~bleed_image') # skia:4367 | 186 match.append('~bleed_image') # skia:4367 |
187 match.append('~ReadPixels') # skia:4368 | 187 match.append('~ReadPixels') # skia:4368 |
188 | 188 |
189 if 'ANGLE' in bot and 'Debug' in bot: | 189 if 'ANGLE' in bot and 'Debug' in bot: |
190 match.append('~GLPrograms') # skia:4717 | 190 match.append('~GLPrograms') # skia:4717 |
191 | 191 |
192 # Hacking around trying to get the MSAN bot green. | 192 # Hacking around trying to get the MSAN bot green. |
193 if 'MSAN' in bot: | 193 if 'MSAN' in bot: |
194 # S32A_Opaque_BlitRow32_SSE4's sk_msan_assert_initialized failing on .SRW. | |
195 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", | |
196 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] | |
197 for raw_ext in r: | |
198 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | |
199 | |
200 blacklist.extend(('_ image _ .wbmp').split(' ')) # skia:4900 | 194 blacklist.extend(('_ image _ .wbmp').split(' ')) # skia:4900 |
201 blacklist.extend(('_ image _ .png').split(' ')) # I8 .png color tables | 195 blacklist.extend(('_ image _ .png').split(' ')) # I8 .png color tables |
202 blacklist.extend(('_ image _ .bmp').split(' ')) # I8 .bmp color tables | 196 blacklist.extend(('_ image _ .bmp').split(' ')) # I8 .bmp color tables |
203 | 197 |
204 match.append('~Codec') # Uninitialzied memory used in PIEX. | |
205 match.append('~BlurLargeImage') # Bug in the GM? | 198 match.append('~BlurLargeImage') # Bug in the GM? |
206 match.append('~FontMgrAndroidParser') # expat currently uninstrumented. | 199 match.append('~FontMgrAndroidParser') # expat currently uninstrumented. |
207 | 200 |
208 if blacklist: | 201 if blacklist: |
209 args.append('--blacklist') | 202 args.append('--blacklist') |
210 args.extend(blacklist) | 203 args.extend(blacklist) |
211 | 204 |
212 if match: | 205 if match: |
213 args.append('--match') | 206 args.append('--match') |
214 args.extend(match) | 207 args.extend(match) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 251 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
259 self_test() | 252 self_test() |
260 sys.exit(0) | 253 sys.exit(0) |
261 | 254 |
262 if len(sys.argv) != 3: | 255 if len(sys.argv) != 3: |
263 print usage | 256 print usage |
264 sys.exit(1) | 257 sys.exit(1) |
265 | 258 |
266 with open(sys.argv[1], 'w') as out: | 259 with open(sys.argv[1], 'w') as out: |
267 json.dump(get_args(sys.argv[2]), out) | 260 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |