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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 blacklist.extend('pdf skp _ worldjournal'.split(' ')) | 131 blacklist.extend('pdf skp _ worldjournal'.split(' ')) |
132 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) | 132 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) |
133 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) | 133 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) |
134 | 134 |
135 if 'iOS' in bot: | 135 if 'iOS' in bot: |
136 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 136 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) |
137 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) | 137 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) |
138 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | 138 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) |
139 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 139 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
140 | 140 |
| 141 # the 32-bit GCE bots run out of memory in DM when running these large images |
| 142 if 'x86' in bot and not 'x86-64' in bot: |
| 143 blacklist.extend('_ image _ interlaced1.png'.split(' ')) |
| 144 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
| 145 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
| 146 |
141 if blacklist: | 147 if blacklist: |
142 args.append('--blacklist') | 148 args.append('--blacklist') |
143 args.extend(blacklist) | 149 args.extend(blacklist) |
144 | 150 |
145 match = [] | 151 match = [] |
146 if 'Valgrind' in bot: # skia:3021 | 152 if 'Valgrind' in bot: # skia:3021 |
147 match.append('~Threaded') | 153 match.append('~Threaded') |
148 if 'TSAN' in bot: # skia:3562 | 154 if 'TSAN' in bot: # skia:3562 |
149 match.append('~Math') | 155 match.append('~Math') |
150 | 156 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 217 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
212 self_test() | 218 self_test() |
213 sys.exit(0) | 219 sys.exit(0) |
214 | 220 |
215 if len(sys.argv) != 3: | 221 if len(sys.argv) != 3: |
216 print usage | 222 print usage |
217 sys.exit(1) | 223 sys.exit(1) |
218 | 224 |
219 with open(sys.argv[1], 'w') as out: | 225 with open(sys.argv[1], 'w') as out: |
220 json.dump(get_args(sys.argv[2]), out) | 226 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |