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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 blacklist.extend('_ image gen_platf rle4-height-negative.bmp'.split(' ')) | 151 blacklist.extend('_ image gen_platf rle4-height-negative.bmp'.split(' ')) |
152 blacklist.extend('_ image gen_platf pal8os2v2.bmp'.split(' ')) | 152 blacklist.extend('_ image gen_platf pal8os2v2.bmp'.split(' ')) |
153 blacklist.extend('_ image gen_platf pal8os2v2-16.bmp'.split(' ')) | 153 blacklist.extend('_ image gen_platf pal8os2v2-16.bmp'.split(' ')) |
154 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' ')) | 154 blacklist.extend('_ image gen_platf rgba32abf.bmp'.split(' ')) |
155 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) | 155 blacklist.extend('_ image gen_platf rgb24prof.bmp'.split(' ')) |
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 'CPU' in bot: |
162 # This GM triggers a SkSmallAllocator assert. | 162 if 'x86_64' in bot: |
163 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) | 163 # This GM triggers a SkSmallAllocator assert. skia:5315 |
| 164 blacklist.extend('_ gm _ composeshader_bitmap'.split(' ')) |
| 165 elif '-x86-' in bot: |
| 166 # This image flakily fails to decode due to memory usage. skia:5318 |
| 167 blacklist.extend('_ image _ HTC.dng'.split(' ')) |
164 | 168 |
165 # skia:4095 | 169 # skia:4095 |
166 for test in ['not_native32_bitmap_config', | 170 for test in ['not_native32_bitmap_config', |
167 'bleed_image', | 171 'bleed_image', |
168 'bleed_alpha_image', | 172 'bleed_alpha_image', |
169 'bleed_alpha_image_shader', | 173 'bleed_alpha_image_shader', |
170 'c_gms', | 174 'c_gms', |
171 'colortype', | 175 'colortype', |
172 'colortype_xfermodes', | 176 'colortype_xfermodes', |
173 'drawfilter', | 177 'drawfilter', |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', | 274 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', |
271 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', | 275 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', |
272 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', | 276 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', |
273 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', | 277 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', |
274 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', | 278 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', |
275 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', | 279 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', |
276 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', | 280 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', |
277 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 281 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
278 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', | 282 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', |
279 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 283 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 284 'Test-Win-MSVC-GCE-CPU-AVX2-x86-Release', |
280 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', | 285 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', |
281 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', | 286 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', |
282 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 287 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
283 ] | 288 ] |
284 | 289 |
285 cov = coverage.coverage() | 290 cov = coverage.coverage() |
286 cov.start() | 291 cov.start() |
287 for case in cases: | 292 for case in cases: |
288 args[case] = get_args(case) | 293 args[case] = get_args(case) |
289 cov.stop() | 294 cov.stop() |
(...skipping 14 matching lines...) Expand all Loading... |
304 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 309 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
305 self_test() | 310 self_test() |
306 sys.exit(0) | 311 sys.exit(0) |
307 | 312 |
308 if len(sys.argv) != 3: | 313 if len(sys.argv) != 3: |
309 print usage | 314 print usage |
310 sys.exit(1) | 315 sys.exit(1) |
311 | 316 |
312 with open(sys.argv[1], 'w') as out: | 317 with open(sys.argv[1], 'w') as out: |
313 json.dump(get_args(sys.argv[2]), out) | 318 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |