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 19 matching lines...) Expand all Loading... |
30 args = [] | 30 args = [] |
31 | 31 |
32 configs = ['565', '8888', 'gpu'] | 32 configs = ['565', '8888', 'gpu'] |
33 | 33 |
34 if 'Android' not in bot: | 34 if 'Android' not in bot: |
35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu')) | 35 configs.extend(('upright-matrix-8888', 'upright-matrix-gpu')) |
36 args.extend('--matrix 0 1 1 0'.split(' ')) | 36 args.extend('--matrix 0 1 1 0'.split(' ')) |
37 | 37 |
38 if '-GCE-' in bot: | 38 if '-GCE-' in bot: |
39 configs.append('sp-8888') | 39 configs.append('sp-8888') |
| 40 configs.extend(['twice-8888', '2ndpic-8888']) |
40 configs.extend(['remote-8888', 'remote_cache-8888']) | 41 configs.extend(['remote-8888', 'remote_cache-8888']) |
41 | 42 |
42 if '-TSAN' not in bot: | 43 if '-TSAN' not in bot: |
43 if ('TegraK1' in bot or | 44 if ('TegraK1' in bot or |
44 'GTX550Ti' in bot or | 45 'GTX550Ti' in bot or |
45 'GTX660' in bot or | 46 'GTX660' in bot or |
46 'GT610' in bot): | 47 'GT610' in bot): |
47 if 'Android' in bot: | 48 if 'Android' in bot: |
48 configs.append('nvprmsaa4') | 49 configs.append('nvprmsaa4') |
49 else: | 50 else: |
(...skipping 10 matching lines...) Expand all Loading... |
60 else: | 61 else: |
61 configs.append('msaa16') | 62 configs.append('msaa16') |
62 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. | 63 # Runs out of memory on Android bots and Daisy. Everyone else seems fine. |
63 if 'Android' not in bot and 'Daisy' not in bot: | 64 if 'Android' not in bot and 'Daisy' not in bot: |
64 configs.append('pdf') | 65 configs.append('pdf') |
65 configs.append('pdf_poppler') | 66 configs.append('pdf_poppler') |
66 | 67 |
67 # NP is running out of RAM when we run all these modes. skia:3255 | 68 # NP is running out of RAM when we run all these modes. skia:3255 |
68 if 'NexusPlayer' not in bot: | 69 if 'NexusPlayer' not in bot: |
69 configs.extend(mode + '-8888' for mode in | 70 configs.extend(mode + '-8888' for mode in |
70 ['serialize', 'tiles_rt', 'pipe']) | 71 ['serialize', 'tiles_rt', 'pic']) |
71 | 72 |
72 if 'ANGLE' in bot: | 73 if 'ANGLE' in bot: |
73 configs.append('angle') | 74 configs.append('angle') |
74 | 75 |
75 # We want to run gpudft on atleast the mali 400 | 76 # We want to run gpudft on atleast the mali 400 |
76 if 'GalaxyS3' in bot: | 77 if 'GalaxyS3' in bot: |
77 configs.append('gpudft') | 78 configs.append('gpudft') |
78 | 79 |
79 args.append('--config') | 80 args.append('--config') |
80 args.extend(configs) | 81 args.extend(configs) |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 'fontmgr_bounds', | 185 'fontmgr_bounds', |
185 'fontmgr_match', | 186 'fontmgr_match', |
186 'fontmgr_iter', | 187 'fontmgr_iter', |
187 'lightingshader', | 188 'lightingshader', |
188 'localmatriximagefilter', | 189 'localmatriximagefilter', |
189 'path_stroke_with_zero_length', | 190 'path_stroke_with_zero_length', |
190 'textblobgeometrychange', | 191 'textblobgeometrychange', |
191 'verylargebitmap', # Windows only. | 192 'verylargebitmap', # Windows only. |
192 'verylarge_picture_image']: # Windows only. | 193 'verylarge_picture_image']: # Windows only. |
193 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 194 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 195 # skia:4769 |
| 196 for test in ['blend', |
| 197 'drawfilter', |
| 198 'path_stroke_with_zero_length', |
| 199 'textblobgeometrychange']: |
| 200 blacklist.extend(['pic-8888', 'gm', '_', test]) |
| 201 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
| 202 blacklist.extend(['sp-8888', 'gm', '_', test]) |
| 203 for test in ['patch_primitive']: |
| 204 blacklist.extend(['sp-8888', 'gm', '_', test]) |
194 | 205 |
195 if blacklist: | 206 if blacklist: |
196 args.append('--blacklist') | 207 args.append('--blacklist') |
197 args.extend(blacklist) | 208 args.extend(blacklist) |
198 | 209 |
199 match = [] | 210 match = [] |
200 if 'Valgrind' in bot: # skia:3021 | 211 if 'Valgrind' in bot: # skia:3021 |
201 match.append('~Threaded') | 212 match.append('~Threaded') |
202 | 213 |
203 if 'GalaxyS3' in bot: # skia:1699 | 214 if 'GalaxyS3' in bot: # skia:1699 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 278 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
268 self_test() | 279 self_test() |
269 sys.exit(0) | 280 sys.exit(0) |
270 | 281 |
271 if len(sys.argv) != 3: | 282 if len(sys.argv) != 3: |
272 print usage | 283 print usage |
273 sys.exit(1) | 284 sys.exit(1) |
274 | 285 |
275 with open(sys.argv[1], 'w') as out: | 286 with open(sys.argv[1], 'w') as out: |
276 json.dump(get_args(sys.argv[2]), out) | 287 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |