| 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 if 'GalaxyS4' in bot: # skia:4079 | 181 if 'GalaxyS4' in bot: # skia:4079 |
| 182 match.append('~imagefiltersclipped') | 182 match.append('~imagefiltersclipped') |
| 183 match.append('~imagefilterscropexpand') | 183 match.append('~imagefilterscropexpand') |
| 184 match.append('~scaled_tilemodes_npot') | 184 match.append('~scaled_tilemodes_npot') |
| 185 match.append('~bleed_image') # skia:4367 | 185 match.append('~bleed_image') # skia:4367 |
| 186 match.append('~ReadPixels') # skia:4368 | 186 match.append('~ReadPixels') # skia:4368 |
| 187 | 187 |
| 188 if 'ANGLE' in bot and 'Debug' in bot: | 188 if 'ANGLE' in bot and 'Debug' in bot: |
| 189 match.append('~GLPrograms') # skia:4717 | 189 match.append('~GLPrograms') # skia:4717 |
| 190 | 190 |
| 191 # Hacking around trying to get the MSAN bot green. | |
| 192 if 'MSAN' in bot: | |
| 193 blacklist.extend(('_ image _ .wbmp').split(' ')) # skia:4900 | |
| 194 blacklist.extend(('_ image _ .png').split(' ')) # I8 .png color tables | |
| 195 blacklist.extend(('_ image _ .bmp').split(' ')) # I8 .bmp color tables | |
| 196 | |
| 197 if blacklist: | 191 if blacklist: |
| 198 args.append('--blacklist') | 192 args.append('--blacklist') |
| 199 args.extend(blacklist) | 193 args.extend(blacklist) |
| 200 | 194 |
| 201 if match: | 195 if match: |
| 202 args.append('--match') | 196 args.append('--match') |
| 203 args.extend(match) | 197 args.extend(match) |
| 204 | 198 |
| 205 # These bots run out of memory running RAW codec tests. Do not run them in | 199 # These bots run out of memory running RAW codec tests. Do not run them in |
| 206 # parallel | 200 # parallel |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 246 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 253 self_test() | 247 self_test() |
| 254 sys.exit(0) | 248 sys.exit(0) |
| 255 | 249 |
| 256 if len(sys.argv) != 3: | 250 if len(sys.argv) != 3: |
| 257 print usage | 251 print usage |
| 258 sys.exit(1) | 252 sys.exit(1) |
| 259 | 253 |
| 260 with open(sys.argv[1], 'w') as out: | 254 with open(sys.argv[1], 'w') as out: |
| 261 json.dump(get_args(sys.argv[2]), out) | 255 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |