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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
180 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 180 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
181 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 181 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
182 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) | 182 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) |
183 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 183 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
184 | 184 |
185 # Extensions for RAW images | 185 # Extensions for RAW images |
186 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", | 186 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", |
187 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] | 187 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] |
188 | 188 |
189 # skbug.com/4888 | 189 # skbug.com/4888 |
190 # Blacklist RAW images (and a few large PNGs) on GPU bots | 190 # Blacklist RAW images (and a few large PNGs) on GPU bots |
msarett
2016/03/24 15:56:19
nit: Maybe this should now read
"Blacklist large
| |
191 # until we can resolve failures | 191 # until we can resolve failures |
192 if 'GPU' in bot: | 192 if 'GPU' in bot: |
193 blacklist.extend('_ image _ interlaced1.png'.split(' ')) | 193 blacklist.extend('_ image _ interlaced1.png'.split(' ')) |
194 blacklist.extend('_ image _ interlaced2.png'.split(' ')) | 194 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
195 blacklist.extend('_ image _ interlaced3.png'.split(' ')) | 195 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
196 blacklist.extend('_ image _ abnormal.wbmp'.split(' ')) | |
196 for raw_ext in r: | 197 for raw_ext in r: |
197 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | 198 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
198 | 199 |
199 match = [] | 200 match = [] |
200 if 'Valgrind' in bot: # skia:3021 | 201 if 'Valgrind' in bot: # skia:3021 |
201 match.append('~Threaded') | 202 match.append('~Threaded') |
202 | 203 |
203 if 'GalaxyS3' in bot: # skia:1699 | 204 if 'GalaxyS3' in bot: # skia:1699 |
204 match.append('~WritePixels') | 205 match.append('~WritePixels') |
205 | 206 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
280 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 281 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
281 self_test() | 282 self_test() |
282 sys.exit(0) | 283 sys.exit(0) |
283 | 284 |
284 if len(sys.argv) != 3: | 285 if len(sys.argv) != 3: |
285 print usage | 286 print usage |
286 sys.exit(1) | 287 sys.exit(1) |
287 | 288 |
288 with open(sys.argv[1], 'w') as out: | 289 with open(sys.argv[1], 'w') as out: |
289 json.dump(get_args(sys.argv[2]), out) | 290 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |