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

Side by Side Diff: tools/dm_flags.py

Issue 1561993003: DM: add a pixel check to serialize (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more on windows Created 4 years, 11 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) 161 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) 162 blacklist.extend('gpu image decode _ msaa image decode _'.split(' '))
163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) 163 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' '))
164 164
165 # the 32-bit GCE bots run out of memory in DM when running these large images 165 # the 32-bit GCE bots run out of memory in DM when running these large images
166 if 'x86' in bot and not 'x86-64' in bot: 166 if 'x86' in bot and not 'x86-64' in bot:
167 blacklist.extend('_ image _ interlaced1.png'.split(' ')) 167 blacklist.extend('_ image _ interlaced1.png'.split(' '))
168 blacklist.extend('_ image _ interlaced2.png'.split(' ')) 168 blacklist.extend('_ image _ interlaced2.png'.split(' '))
169 blacklist.extend('_ image _ interlaced3.png'.split(' ')) 169 blacklist.extend('_ image _ interlaced3.png'.split(' '))
170 170
171 # skia:4095
172 for test in ['not_native32_bitmap_config',
173 'bleed_image',
174 'bleed_alpha_image',
175 'bleed_alpha_image_shader',
176 'blend',
177 'c_gms',
178 'colortype',
179 'colortype_xfermodes',
180 'colorwheelnative',
181 'drawfilter',
182 'fontmgr_bounds_0.75_0',
183 'fontmgr_bounds_1_-0.25',
184 'fontmgr_bounds',
185 'fontmgr_match',
186 'fontmgr_iter',
187 'lightingshader',
188 'localmatriximagefilter',
189 'path_stroke_with_zero_length',
190 'textblobgeometrychange',
191 'verylargebitmap', # Windows only.
192 'verylarge_picture_image']: # Windows only.
193 blacklist.extend(['serialize-8888', 'gm', '_', test])
194
171 if blacklist: 195 if blacklist:
172 args.append('--blacklist') 196 args.append('--blacklist')
173 args.extend(blacklist) 197 args.extend(blacklist)
174 198
175 match = [] 199 match = []
176 if 'Valgrind' in bot: # skia:3021 200 if 'Valgrind' in bot: # skia:3021
177 match.append('~Threaded') 201 match.append('~Threaded')
178 202
179 if 'GalaxyS3' in bot: # skia:1699 203 if 'GalaxyS3' in bot: # skia:1699
180 match.append('~WritePixels') 204 match.append('~WritePixels')
181 205
182 if 'AndroidOne' in bot: # skia:4711 206 if 'AndroidOne' in bot: # skia:4711
183 match.append('~WritePixels') 207 match.append('~WritePixels')
184 208
185 if 'NexusPlayer' in bot: 209 if 'NexusPlayer' in bot:
186 match.append('~ResourceCache') 210 match.append('~ResourceCache')
187 211
188 if 'GalaxyS4' in bot: # skia:4079 212 if 'GalaxyS4' in bot: # skia:4079
189 match.append('~imagefiltersclipped') 213 match.append('~imagefiltersclipped')
190 match.append('~imagefilterscropexpand') 214 match.append('~imagefilterscropexpand')
191 match.append('~scaled_tilemodes_npot') 215 match.append('~scaled_tilemodes_npot')
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 if len(sys.argv) == 2 and sys.argv[1] == 'test': 267 if len(sys.argv) == 2 and sys.argv[1] == 'test':
244 self_test() 268 self_test()
245 sys.exit(0) 269 sys.exit(0)
246 270
247 if len(sys.argv) != 3: 271 if len(sys.argv) != 3:
248 print usage 272 print usage
249 sys.exit(1) 273 sys.exit(1)
250 274
251 with open(sys.argv[1], 'w') as out: 275 with open(sys.argv[1], 'w') as out:
252 json.dump(get_args(sys.argv[2]), out) 276 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