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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 args.append('--blacklist') | 169 args.append('--blacklist') |
170 args.extend(blacklist) | 170 args.extend(blacklist) |
171 | 171 |
172 match = [] | 172 match = [] |
173 if 'Valgrind' in bot: # skia:3021 | 173 if 'Valgrind' in bot: # skia:3021 |
174 match.append('~Threaded') | 174 match.append('~Threaded') |
175 | 175 |
176 if 'GalaxyS3' in bot: # skia:1699 | 176 if 'GalaxyS3' in bot: # skia:1699 |
177 match.append('~WritePixels') | 177 match.append('~WritePixels') |
178 | 178 |
179 # skia:3249: these images flakily don't decode on Android. | |
180 if 'Android' in bot: | |
181 match.append('~tabl_mozilla_0') | |
182 match.append('~desk_yahoonews_0') | |
183 | |
184 if 'NexusPlayer' in bot: | 179 if 'NexusPlayer' in bot: |
185 match.append('~ResourceCache') | 180 match.append('~ResourceCache') |
186 | 181 |
187 if 'iOS' in bot: | 182 if 'iOS' in bot: |
188 match.append('~WritePixels') | 183 match.append('~WritePixels') |
189 | 184 |
190 if 'GalaxyS4' in bot: # skia:4079 | 185 if 'GalaxyS4' in bot: # skia:4079 |
191 match.append('~imagefiltersclipped') | 186 match.append('~imagefiltersclipped') |
192 match.append('~imagefilterscropexpand') | 187 match.append('~imagefilterscropexpand') |
193 match.append('~scaled_tilemodes_npot') | 188 match.append('~scaled_tilemodes_npot') |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 236 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
242 self_test() | 237 self_test() |
243 sys.exit(0) | 238 sys.exit(0) |
244 | 239 |
245 if len(sys.argv) != 3: | 240 if len(sys.argv) != 3: |
246 print usage | 241 print usage |
247 sys.exit(1) | 242 sys.exit(1) |
248 | 243 |
249 with open(sys.argv[1], 'w') as out: | 244 with open(sys.argv[1], 'w') as out: |
250 json.dump(get_args(sys.argv[2]), out) | 245 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |