OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 # Recipe module for Skia Swarming test. | 6 # Recipe module for Skia Swarming test. |
7 | 7 |
8 | 8 |
9 DEPS = [ | 9 DEPS = [ |
10 'build/file', | 10 'build/file', |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 configs = ['commandbuffer'] | 131 configs = ['commandbuffer'] |
132 | 132 |
133 # Vulkan bot *only* runs the vk config. | 133 # Vulkan bot *only* runs the vk config. |
134 if 'Vulkan' in bot: | 134 if 'Vulkan' in bot: |
135 configs = ['vk'] | 135 configs = ['vk'] |
136 | 136 |
137 args.append('--config') | 137 args.append('--config') |
138 args.extend(configs) | 138 args.extend(configs) |
139 | 139 |
140 # Run tests, gms, and image decoding tests everywhere. | 140 # Run tests, gms, and image decoding tests everywhere. |
141 args.extend('--src tests gm image colorImage'.split(' ')) | 141 args.extend('--src tests gm image colorImage svg'.split(' ')) |
142 # TODO(rmistry): Remove the below once we want to enable SVGs for all bots. | |
143 if (bot == 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot' or | |
144 bot == 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared'): | |
145 args.append('svg') | |
146 | 142 |
147 if 'GalaxyS' in bot: | 143 if 'GalaxyS' in bot: |
148 args.extend(('--threads', '0')) | 144 args.extend(('--threads', '0')) |
149 | 145 |
150 blacklist = [] | 146 blacklist = [] |
151 | 147 |
152 # TODO: ??? | 148 # TODO: ??? |
153 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) | 149 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) |
154 blacklist.extend('f16 image _ _'.split(' ')) | 150 blacklist.extend('f16 image _ _'.split(' ')) |
155 blacklist.extend('srgb image _ _'.split(' ')) | 151 blacklist.extend('srgb image _ _'.split(' ')) |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 '--resourcePath', api.flavor.device_dirs.resource_dir, | 429 '--resourcePath', api.flavor.device_dirs.resource_dir, |
434 '--skps', api.flavor.device_dirs.skp_dir, | 430 '--skps', api.flavor.device_dirs.skp_dir, |
435 '--images', api.flavor.device_path_join( | 431 '--images', api.flavor.device_path_join( |
436 api.flavor.device_dirs.images_dir, 'dm'), | 432 api.flavor.device_dirs.images_dir, 'dm'), |
437 '--colorImages', api.flavor.device_path_join( | 433 '--colorImages', api.flavor.device_path_join( |
438 api.flavor.device_dirs.images_dir, 'colorspace'), | 434 api.flavor.device_dirs.images_dir, 'colorspace'), |
439 '--nameByHash', | 435 '--nameByHash', |
440 '--properties' | 436 '--properties' |
441 ] + properties | 437 ] + properties |
442 | 438 |
443 # TODO(rmistry): Remove the below once we want to enable SVGs for all bots. | 439 args.extend(['--svgs', api.flavor.device_dirs.svg_dir]) |
444 if (api.vars.builder_name == | |
445 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot' or | |
446 api.vars.builder_name == | |
447 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared'): | |
448 args.extend(['--svgs', api.flavor.device_dirs.svg_dir]) | |
449 | 440 |
450 args.append('--key') | 441 args.append('--key') |
451 args.extend(key_params(api)) | 442 args.extend(key_params(api)) |
452 if use_hash_file: | 443 if use_hash_file: |
453 args.extend(['--uninterestingHashesFile', hashes_file]) | 444 args.extend(['--uninterestingHashesFile', hashes_file]) |
454 if api.vars.upload_dm_results: | 445 if api.vars.upload_dm_results: |
455 args.extend(['--writePath', api.flavor.device_dirs.dm_dir]) | 446 args.extend(['--writePath', api.flavor.device_dirs.dm_dir]) |
456 | 447 |
457 skip_flag = None | 448 skip_flag = None |
458 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': | 449 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
850 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 841 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
851 'skimage', 'VERSION'), | 842 'skimage', 'VERSION'), |
852 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 843 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
853 'skp', 'VERSION'), | 844 'skp', 'VERSION'), |
854 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 845 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
855 'svg', 'VERSION'), | 846 'svg', 'VERSION'), |
856 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 847 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
857 ) + | 848 ) + |
858 api.platform('win', 64) | 849 api.platform('win', 64) |
859 ) | 850 ) |
OLD | NEW |