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 18 matching lines...) Expand all Loading... |
29 def get_args(bot): | 29 def get_args(bot): |
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.extend(['f16', 'srgb']) |
39 configs.append('sp-8888') | 40 configs.append('sp-8888') |
40 configs.extend(['twice-8888', '2ndpic-8888']) | 41 configs.extend(['twice-8888', '2ndpic-8888']) |
41 configs.extend(['remote-8888', 'remote_cache-8888']) | 42 configs.extend(['remote-8888', 'remote_cache-8888']) |
42 | 43 |
43 if '-TSAN' not in bot: | 44 if '-TSAN' not in bot: |
44 if ('TegraK1' in bot or | 45 if ('TegraK1' in bot or |
45 'GTX550Ti' in bot or | 46 'GTX550Ti' in bot or |
46 'GTX660' in bot or | 47 'GTX660' in bot or |
47 'GT610' in bot): | 48 'GT610' in bot): |
48 if 'Android' in bot: | 49 if 'Android' in bot: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 | 83 |
83 # Run tests, gms, and image decoding tests everywhere. | 84 # Run tests, gms, and image decoding tests everywhere. |
84 # TODO: remove skp from default --src list? | 85 # TODO: remove skp from default --src list? |
85 args.extend('--src tests gm image'.split(' ')) | 86 args.extend('--src tests gm image'.split(' ')) |
86 | 87 |
87 if 'GalaxyS' in bot: | 88 if 'GalaxyS' in bot: |
88 args.extend(('--threads', '0')) | 89 args.extend(('--threads', '0')) |
89 | 90 |
90 blacklist = [] | 91 blacklist = [] |
91 | 92 |
| 93 # TODO: ??? |
| 94 blacklist.extend('f16 _ _ dstreadshuffle'.split(' ')) |
| 95 blacklist.extend('f16 image _ _'.split(' ')) |
| 96 blacklist.extend('srgb image _ _'.split(' ')) |
| 97 |
92 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test | 98 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test |
93 # running forever | 99 # running forever |
94 if 'Win7' in bot: | 100 if 'Win7' in bot: |
95 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) | 101 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) |
96 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) | 102 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) |
97 | 103 |
98 if 'Valgrind' in bot: | 104 if 'Valgrind' in bot: |
99 # These take 18+ hours to run. | 105 # These take 18+ hours to run. |
100 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) | 106 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) |
101 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) | 107 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 260 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
255 self_test() | 261 self_test() |
256 sys.exit(0) | 262 sys.exit(0) |
257 | 263 |
258 if len(sys.argv) != 3: | 264 if len(sys.argv) != 3: |
259 print usage | 265 print usage |
260 sys.exit(1) | 266 sys.exit(1) |
261 | 267 |
262 with open(sys.argv[1], 'w') as out: | 268 with open(sys.argv[1], 'w') as out: |
263 json.dump(get_args(sys.argv[2]), out) | 269 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |