Chromium Code Reviews| 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 # NexusPlayer runs out of memory running RAW codec tests | |
|
scroggo
2016/02/01 15:05:13
Should we file a bug for this? Alternatively, we c
msarett
2016/02/01 15:43:11
I like this idea, but I think it would probably be
| |
| 163 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 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | |
| 168 | |
| 162 if blacklist: | 169 if blacklist: |
| 163 args.append('--blacklist') | 170 args.append('--blacklist') |
| 164 args.extend(blacklist) | 171 args.extend(blacklist) |
| 165 | 172 |
| 166 match = [] | 173 match = [] |
| 167 if 'Valgrind' in bot: # skia:3021 | 174 if 'Valgrind' in bot: # skia:3021 |
| 168 match.append('~Threaded') | 175 match.append('~Threaded') |
| 169 | 176 |
| 170 if 'GalaxyS3' in bot: # skia:1699 | 177 if 'GalaxyS3' in bot: # skia:1699 |
| 171 match.append('~WritePixels') | 178 match.append('~WritePixels') |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 234 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 241 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 235 self_test() | 242 self_test() |
| 236 sys.exit(0) | 243 sys.exit(0) |
| 237 | 244 |
| 238 if len(sys.argv) != 3: | 245 if len(sys.argv) != 3: |
| 239 print usage | 246 print usage |
| 240 sys.exit(1) | 247 sys.exit(1) |
| 241 | 248 |
| 242 with open(sys.argv[1], 'w') as out: | 249 with open(sys.argv[1], 'w') as out: |
| 243 json.dump(get_args(sys.argv[2]), out) | 250 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |