Chromium Code Reviews| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 if 'Android' in bot or 'iOS' in bot: | 165 if 'Android' in bot or 'iOS' in bot: |
| 166 # This test crashes the N9 (perhaps because of large malloc/frees). It also | 166 # This test crashes the N9 (perhaps because of large malloc/frees). It also |
| 167 # is fairly slow and not platform-specific. So we just disable it on all of | 167 # is fairly slow and not platform-specific. So we just disable it on all of |
| 168 # Android and iOS. skia:5438 | 168 # Android and iOS. skia:5438 |
| 169 blacklist.extend('_ test _ GrShape'.split(' ')) | 169 blacklist.extend('_ test _ GrShape'.split(' ')) |
| 170 | 170 |
| 171 if 'Win8' in bot: | |
| 172 # bungeman: "Doesn't work on Windows anyway, produces unstable GMs with | |
| 173 # 'Unexpected error' from DirectWrite" | |
| 174 blacklist.extend('_ gm _ fontscalerdistortable'.split(' ')) | |
|
bungeman-skia
2016/07/05 17:10:10
This bit lgtm.
| |
| 175 | |
| 171 # skia:4095 | 176 # skia:4095 |
| 172 for test in ['bleed_image', | 177 for test in ['bleed_image', |
| 173 'c_gms', | 178 'c_gms', |
| 174 'colortype', | 179 'colortype', |
| 175 'colortype_xfermodes', | 180 'colortype_xfermodes', |
| 176 'drawfilter', | 181 'drawfilter', |
| 177 'fontmgr_bounds_0.75_0', | 182 'fontmgr_bounds_0.75_0', |
| 178 'fontmgr_bounds_1_-0.25', | 183 'fontmgr_bounds_1_-0.25', |
| 179 'fontmgr_bounds', | 184 'fontmgr_bounds', |
| 180 'fontmgr_match', | 185 'fontmgr_match', |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 283 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', | 288 'Test-Mac-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release', |
| 284 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', | 289 'Test-Mac-Clang-MacMini6.2-GPU-HD4000-x86_64-Debug-CommandBuffer', |
| 285 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', | 290 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', |
| 286 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', | 291 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', |
| 287 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 292 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
| 288 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', | 293 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', |
| 289 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 294 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 290 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', | 295 'Test-Win-MSVC-GCE-CPU-AVX2-x86_64-Debug', |
| 291 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', | 296 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-Vulkan', |
| 292 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 297 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
| 298 'Test-Win8-MSVC-GCE-CPU-AVX2-x86_64-Debug', | |
| 293 ] | 299 ] |
| 294 | 300 |
| 295 cov = coverage.coverage() | 301 cov = coverage.coverage() |
| 296 cov.start() | 302 cov.start() |
| 297 for case in cases: | 303 for case in cases: |
| 298 args[case] = get_args(case) | 304 args[case] = get_args(case) |
| 299 cov.stop() | 305 cov.stop() |
| 300 | 306 |
| 301 this_file = os.path.basename(__file__) | 307 this_file = os.path.basename(__file__) |
| 302 _, _, not_run, _ = cov.analysis(this_file) | 308 _, _, not_run, _ = cov.analysis(this_file) |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 314 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 320 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 315 self_test() | 321 self_test() |
| 316 sys.exit(0) | 322 sys.exit(0) |
| 317 | 323 |
| 318 if len(sys.argv) != 3: | 324 if len(sys.argv) != 3: |
| 319 print usage | 325 print usage |
| 320 sys.exit(1) | 326 sys.exit(1) |
| 321 | 327 |
| 322 with open(sys.argv[1], 'w') as out: | 328 with open(sys.argv[1], 'w') as out: |
| 323 json.dump(get_args(sys.argv[2]), out) | 329 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |