Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: infra/bots/recipes/swarm_test.py

Issue 2344553002: 565 is not this important. (Closed)
Patch Set: still an option Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 def dm_flags(bot): 56 def dm_flags(bot):
57 args = [] 57 args = []
58 58
59 # 32-bit desktop bots tend to run out of memory, because they have relatively 59 # 32-bit desktop bots tend to run out of memory, because they have relatively
60 # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit. 60 # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit.
61 if '-x86-' in bot and not 'NexusPlayer' in bot: 61 if '-x86-' in bot and not 'NexusPlayer' in bot:
62 args.extend('--threads 4'.split(' ')) 62 args.extend('--threads 4'.split(' '))
63 63
64 # These are the canonical configs that we would ideally run on all bots. We 64 # These are the canonical configs that we would ideally run on all bots. We
65 # may opt out or substitute some below for specific bots 65 # may opt out or substitute some below for specific bots
66 configs = ['565', '8888', 'gpu', 'gpusrgb', 'pdf'] 66 configs = ['8888', 'gpu', 'gpusrgb', 'pdf']
67 # Add in either msaa4 or msaa16 to the canonical set of configs to run 67 # Add in either msaa4 or msaa16 to the canonical set of configs to run
68 if 'Android' in bot or 'iOS' in bot: 68 if 'Android' in bot or 'iOS' in bot:
69 configs.append('msaa4') 69 configs.append('msaa4')
70 else: 70 else:
71 configs.append('msaa16') 71 configs.append('msaa16')
72 72
73 # With msaa, the S4 crashes and the NP produces a long error stream when we 73 # With msaa, the S4 crashes and the NP produces a long error stream when we
74 # run with MSAA. The Tegra2 and Tegra3 just don't support it. No record of 74 # run with MSAA. The Tegra2 and Tegra3 just don't support it. No record of
75 # why we're not running msaa on iOS, probably started with gpu config and just 75 # why we're not running msaa on iOS, probably started with gpu config and just
76 # haven't tried. 76 # haven't tried.
77 if ('GalaxyS4' in bot or 77 if ('GalaxyS4' in bot or
78 'NexusPlayer' in bot or 78 'NexusPlayer' in bot or
79 'Tegra3' in bot or 79 'Tegra3' in bot or
80 'iOS' in bot): 80 'iOS' in bot):
81 configs = [x for x in configs if 'msaa' not in x] 81 configs = [x for x in configs if 'msaa' not in x]
82 82
83 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. 83 # Runs out of memory on Android bots and Daisy. Everyone else seems fine.
84 if 'Android' in bot or 'Daisy' in bot: 84 if 'Android' in bot or 'Daisy' in bot:
85 configs.remove('pdf') 85 configs.remove('pdf')
86 86
87 if '-GCE-' in bot: 87 if '-GCE-' in bot:
88 configs.extend(['565'])
88 configs.extend(['f16', 'srgb']) # Gamma-correct formats. 89 configs.extend(['f16', 'srgb']) # Gamma-correct formats.
89 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture. 90 configs.extend(['sp-8888', '2ndpic-8888']) # Test niche uses of SkPicture.
90 configs.extend(['lite-8888']) # Experimental display list. 91 configs.extend(['lite-8888']) # Experimental display list.
91 92
92 if '-TSAN' not in bot: 93 if '-TSAN' not in bot:
93 if ('TegraK1' in bot or 94 if ('TegraK1' in bot or
94 'TegraX1' in bot or 95 'TegraX1' in bot or
95 'GTX550Ti' in bot or 96 'GTX550Ti' in bot or
96 'GTX660' in bot or 97 'GTX660' in bot or
97 'GT610' in bot): 98 'GT610' in bot):
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 api.properties( 879 api.properties(
879 buildername=builder, 880 buildername=builder,
880 mastername='client.skia', 881 mastername='client.skia',
881 slavename='skiabot-linux-swarm-000', 882 slavename='skiabot-linux-swarm-000',
882 buildnumber=5, 883 buildnumber=5,
883 path_config='kitchen', 884 path_config='kitchen',
884 swarm_out_dir='[SWARM_OUT_DIR]', 885 swarm_out_dir='[SWARM_OUT_DIR]',
885 revision='abc123', 886 revision='abc123',
886 **gerrit_kwargs) 887 **gerrit_kwargs)
887 ) 888 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698