| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 # Segfaults when run as GPU bench. Very large texture? | 77 # Segfaults when run as GPU bench. Very large texture? |
| 78 match.append('~blurroundrect') | 78 match.append('~blurroundrect') |
| 79 match.append('~patch_grid') # skia:2847 | 79 match.append('~patch_grid') # skia:2847 |
| 80 match.append('~desk_carsvg') | 80 match.append('~desk_carsvg') |
| 81 if 'HD2000' in bot: | 81 if 'HD2000' in bot: |
| 82 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 | 82 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 |
| 83 if 'NexusPlayer' in bot: | 83 if 'NexusPlayer' in bot: |
| 84 match.append('~desk_unicodetable') | 84 match.append('~desk_unicodetable') |
| 85 if 'GalaxyS4' in bot: | 85 if 'GalaxyS4' in bot: |
| 86 match.append('~GLInstancedArraysBench') # skia:4371 | 86 match.append('~GLInstancedArraysBench') # skia:4371 |
| 87 | 87 if 'Nexus5' in bot: |
| 88 match.append('~keymobi_shop_mobileweb_ebay_com.skp') # skia:5178 |
| 88 if 'iOS' in bot: | 89 if 'iOS' in bot: |
| 89 match.append('~blurroundrect') | 90 match.append('~blurroundrect') |
| 90 match.append('~patch_grid') # skia:2847 | 91 match.append('~patch_grid') # skia:2847 |
| 91 match.append('~desk_carsvg') | 92 match.append('~desk_carsvg') |
| 92 match.append('~keymobi') | 93 match.append('~keymobi') |
| 93 match.append('~path_hairline') | 94 match.append('~path_hairline') |
| 94 match.append('~GLInstancedArraysBench') # skia:4714 | 95 match.append('~GLInstancedArraysBench') # skia:4714 |
| 95 | 96 |
| 96 # the 32-bit GCE bots run out of memory in DM when running these large images | 97 # the 32-bit GCE bots run out of memory in DM when running these large images |
| 97 # so defensively disable them in nanobench, too. | 98 # so defensively disable them in nanobench, too. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 'Perf-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release', | 151 'Perf-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release', |
| 151 'Perf-Android-Nexus7-Tegra3-Arm7-Release', | 152 'Perf-Android-Nexus7-Tegra3-Arm7-Release', |
| 152 'Perf-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Release', | 153 'Perf-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Release', |
| 153 'Perf-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Release', | 154 'Perf-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Release', |
| 154 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 155 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 155 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 156 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
| 156 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', | 157 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug', |
| 157 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', | 158 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', |
| 158 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot', | 159 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot', |
| 159 'Perf-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', | 160 'Perf-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Release', |
| 161 'Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Release', |
| 160 ] | 162 ] |
| 161 | 163 |
| 162 cov = coverage.coverage() | 164 cov = coverage.coverage() |
| 163 cov.start() | 165 cov.start() |
| 164 for case in cases: | 166 for case in cases: |
| 165 args[case] = get_args(case) | 167 args[case] = get_args(case) |
| 166 cov.stop() | 168 cov.stop() |
| 167 | 169 |
| 168 this_file = os.path.basename(__file__) | 170 this_file = os.path.basename(__file__) |
| 169 _, _, not_run, _ = cov.analysis(this_file) | 171 _, _, not_run, _ = cov.analysis(this_file) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 181 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 183 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 182 self_test() | 184 self_test() |
| 183 sys.exit(0) | 185 sys.exit(0) |
| 184 | 186 |
| 185 if len(sys.argv) != 3: | 187 if len(sys.argv) != 3: |
| 186 print usage | 188 print usage |
| 187 sys.exit(1) | 189 sys.exit(1) |
| 188 | 190 |
| 189 with open(sys.argv[1], 'w') as out: | 191 with open(sys.argv[1], 'w') as out: |
| 190 json.dump(get_args(sys.argv[2]), out) | 192 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |