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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 blacklist.extend(['sp-8888', 'gm', '_', test]) | 152 blacklist.extend(['sp-8888', 'gm', '_', test]) |
153 # skia:4703 | 153 # skia:4703 |
154 for test in ['image-cacherator-from-picture', | 154 for test in ['image-cacherator-from-picture', |
155 'image-cacherator-from-raster', | 155 'image-cacherator-from-raster', |
156 'image-cacherator-from-ctable']: | 156 'image-cacherator-from-ctable']: |
157 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 157 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
158 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 158 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
159 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) | 159 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) |
160 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 160 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
161 | 161 |
| 162 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", |
| 163 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] |
| 164 |
162 # NexusPlayer runs out of memory running RAW codec tests | 165 # NexusPlayer runs out of memory running RAW codec tests |
163 if 'NexusPlayer' in bot: | 166 if 'NexusPlayer' in bot: |
164 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", | |
165 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] | |
166 for raw_ext in r: | 167 for raw_ext in r: |
167 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | 168 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
168 | 169 |
| 170 # skbug.com/4888 |
| 171 # Blacklist RAW images on GPU tests until we can resolve failures |
| 172 if 'GPU' in bot: |
| 173 for raw_ext in r: |
| 174 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
| 175 |
169 match = [] | 176 match = [] |
170 if 'Valgrind' in bot: # skia:3021 | 177 if 'Valgrind' in bot: # skia:3021 |
171 match.append('~Threaded') | 178 match.append('~Threaded') |
172 | 179 |
173 if 'GalaxyS3' in bot: # skia:1699 | 180 if 'GalaxyS3' in bot: # skia:1699 |
174 match.append('~WritePixels') | 181 match.append('~WritePixels') |
175 | 182 |
176 if 'AndroidOne' in bot: # skia:4711 | 183 if 'AndroidOne' in bot: # skia:4711 |
177 match.append('~WritePixels') | 184 match.append('~WritePixels') |
178 | 185 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 255 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
249 self_test() | 256 self_test() |
250 sys.exit(0) | 257 sys.exit(0) |
251 | 258 |
252 if len(sys.argv) != 3: | 259 if len(sys.argv) != 3: |
253 print usage | 260 print usage |
254 sys.exit(1) | 261 sys.exit(1) |
255 | 262 |
256 with open(sys.argv[1], 'w') as out: | 263 with open(sys.argv[1], 'w') as out: |
257 json.dump(get_args(sys.argv[2]), out) | 264 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |