Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: tools/dm_flags.py

Issue 1811943002: Disable bad gif decode on CG (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if 'iOS' in bot: 106 if 'iOS' in bot:
107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) 107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) 108 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' '))
109 109
110 # the 32-bit GCE bots run out of memory in DM when running these large images 110 # the 32-bit GCE bots run out of memory in DM when running these large images
111 if 'x86' in bot and not 'x86-64' in bot: 111 if 'x86' in bot and not 'x86-64' in bot:
112 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 112 blacklist.extend('_ image _ interlaced1.png'.split(' '))
113 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 113 blacklist.extend('_ image _ interlaced2.png'.split(' '))
114 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 114 blacklist.extend('_ image _ interlaced3.png'.split(' '))
115 115
116 # CG fails on questionable bmps
117 if 'Mac' in bot or 'iOS' in bot: 116 if 'Mac' in bot or 'iOS' in bot:
117 # CG fails on questionable bmps
118 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' ')) 118 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' '))
119 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) 119 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' '))
120 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) 120 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' '))
121 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) 121 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' '))
122 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) 122 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' '))
123 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) 123 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' '))
124 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) 124 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' '))
125
126 # CG has unpredictable behavior on this questionable gif
127 # It's probably using uninitialized memory
128 blacklist.extend('_ image gen_platf frame_larger_than_image.gif'.split(' '))
125 129
126 # skia:4095 130 # skia:4095
127 for test in ['not_native32_bitmap_config', 131 for test in ['not_native32_bitmap_config',
128 'bleed_image', 132 'bleed_image',
129 'bleed_alpha_image', 133 'bleed_alpha_image',
130 'bleed_alpha_image_shader', 134 'bleed_alpha_image_shader',
131 'blend', 135 'blend',
132 'c_gms', 136 'c_gms',
133 'colortype', 137 'colortype',
134 'colortype_xfermodes', 138 'colortype_xfermodes',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 if len(sys.argv) == 2 and sys.argv[1] == 'test': 268 if len(sys.argv) == 2 and sys.argv[1] == 'test':
265 self_test() 269 self_test()
266 sys.exit(0) 270 sys.exit(0)
267 271
268 if len(sys.argv) != 3: 272 if len(sys.argv) != 3:
269 print usage 273 print usage
270 sys.exit(1) 274 sys.exit(1)
271 275
272 with open(sys.argv[1], 'w') as out: 276 with open(sys.argv[1], 'w') as out:
273 json.dump(get_args(sys.argv[2]), out) 277 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698