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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) | 156 blacklist.extend('_ image gen_platf rgb24lprof.bmp'.split(' ')) |
157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) | 157 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) |
158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) | 158 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) |
159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) | 159 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) |
160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) | 160 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) |
161 if 'x86_64' in bot and 'CPU' in bot: | 161 if 'x86_64' in bot and 'CPU' in bot: |
162 # This GM triggers a SkSmallAllocator assert. | 162 # This GM triggers a SkSmallAllocator assert. |
163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) | 163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) |
164 | 164 |
165 # skia:4095 | 165 # skia:4095 |
166 for test in ['not_native32_bitmap_config', | 166 for test in ['bleed_image', |
167 'bleed_image', | |
168 'bleed_alpha_image', | |
169 'bleed_alpha_image_shader', | |
170 'c_gms', | 167 'c_gms', |
171 'colortype', | 168 'colortype', |
172 'colortype_xfermodes', | 169 'colortype_xfermodes', |
173 'drawfilter', | 170 'drawfilter', |
174 'fontmgr_bounds_0.75_0', | 171 'fontmgr_bounds_0.75_0', |
175 'fontmgr_bounds_1_-0.25', | 172 'fontmgr_bounds_1_-0.25', |
176 'fontmgr_bounds', | 173 'fontmgr_bounds', |
177 'fontmgr_match', | 174 'fontmgr_match', |
178 'fontmgr_iter', | 175 'fontmgr_iter']: |
179 'verylargebitmap', # Windows only. | |
180 'verylarge_picture_image']: # Windows only. | |
181 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 176 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 177 if 'Mac' not in bot: |
| 178 for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: |
| 179 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 180 if 'Win' in bot: |
| 181 for test in ['verylargebitmap', 'verylarge_picture_image']: |
| 182 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 183 |
182 # skia:4769 | 184 # skia:4769 |
183 for test in ['drawfilter']: | 185 for test in ['drawfilter']: |
184 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 186 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
185 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 187 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
186 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 188 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
187 # skia:4703 | 189 # skia:4703 |
188 for test in ['image-cacherator-from-picture', | 190 for test in ['image-cacherator-from-picture', |
189 'image-cacherator-from-raster', | 191 'image-cacherator-from-raster', |
190 'image-cacherator-from-ctable']: | 192 'image-cacherator-from-ctable']: |
191 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 193 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 match.append('~bleed_image') # skia:4367 | 233 match.append('~bleed_image') # skia:4367 |
232 match.append('~ReadPixels') # skia:4368 | 234 match.append('~ReadPixels') # skia:4368 |
233 | 235 |
234 if 'ANGLE' in bot and 'Debug' in bot: | 236 if 'ANGLE' in bot and 'Debug' in bot: |
235 match.append('~GLPrograms') # skia:4717 | 237 match.append('~GLPrograms') # skia:4717 |
236 | 238 |
237 if 'MSAN' in bot: | 239 if 'MSAN' in bot: |
238 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. | 240 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. |
239 | 241 |
240 if 'TSAN' in bot: | 242 if 'TSAN' in bot: |
241 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots. | 243 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots. |
242 | 244 |
243 if blacklist: | 245 if blacklist: |
244 args.append('--blacklist') | 246 args.append('--blacklist') |
245 args.extend(blacklist) | 247 args.extend(blacklist) |
246 | 248 |
247 if match: | 249 if match: |
248 args.append('--match') | 250 args.append('--match') |
249 args.extend(match) | 251 args.extend(match) |
250 | 252 |
251 # These bots run out of memory running RAW codec tests. Do not run them in | 253 # These bots run out of memory running RAW codec tests. Do not run them in |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 306 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
305 self_test() | 307 self_test() |
306 sys.exit(0) | 308 sys.exit(0) |
307 | 309 |
308 if len(sys.argv) != 3: | 310 if len(sys.argv) != 3: |
309 print usage | 311 print usage |
310 sys.exit(1) | 312 sys.exit(1) |
311 | 313 |
312 with open(sys.argv[1], 'w') as out: | 314 with open(sys.argv[1], 'w') as out: |
313 json.dump(get_args(sys.argv[2]), out) | 315 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |