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