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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 186 # Extensions for RAW images | 186 # Extensions for RAW images |
| 187 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", | 187 r = ["arw", "cr2", "dng", "nef", "nrw", "orf", "raf", "rw2", "pef", "srw", |
| 188 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] | 188 "ARW", "CR2", "DNG", "NEF", "NRW", "ORF", "RAF", "RW2", "PEF", "SRW"] |
| 189 | 189 |
| 190 # skbug.com/4888 | 190 # skbug.com/4888 |
| 191 # Blacklist RAW images on GPU tests until we can resolve failures | 191 # Blacklist RAW images on GPU tests until we can resolve failures |
| 192 if 'GPU' in bot: | 192 if 'GPU' in bot: |
| 193 for raw_ext in r: | 193 for raw_ext in r: |
| 194 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | 194 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
| 195 | 195 |
| 196 # Blacklist RAW images on Win32 tests due to out-of-memory issue | 196 # Blacklist RAW images on some 32-bit machines due to out-of-memory issues |
| 197 if 'Win' in bot and not '64' in bot: | 197 if (('Win' in bot or 'Ubuntu' in bot) and not '64' in bot): |
|
msarett
2016/03/22 15:08:11
I chose not to check for "x86 and not 64" because
| |
| 198 for raw_ext in r: | 198 for raw_ext in r: |
| 199 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) | 199 blacklist.extend(('_ image _ .%s' % raw_ext).split(' ')) |
| 200 | 200 |
| 201 match = [] | 201 match = [] |
| 202 if 'Valgrind' in bot: # skia:3021 | 202 if 'Valgrind' in bot: # skia:3021 |
| 203 match.append('~Threaded') | 203 match.append('~Threaded') |
| 204 | 204 |
| 205 if 'GalaxyS3' in bot: # skia:1699 | 205 if 'GalaxyS3' in bot: # skia:1699 |
| 206 match.append('~WritePixels') | 206 match.append('~WritePixels') |
| 207 | 207 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 282 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 282 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 283 self_test() | 283 self_test() |
| 284 sys.exit(0) | 284 sys.exit(0) |
| 285 | 285 |
| 286 if len(sys.argv) != 3: | 286 if len(sys.argv) != 3: |
| 287 print usage | 287 print usage |
| 288 sys.exit(1) | 288 sys.exit(1) |
| 289 | 289 |
| 290 with open(sys.argv[1], 'w') as out: | 290 with open(sys.argv[1], 'w') as out: |
| 291 json.dump(get_args(sys.argv[2]), out) | 291 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |