| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 match.append('~desk_yahoonews_0') | 164 match.append('~desk_yahoonews_0') |
| 165 | 165 |
| 166 if 'NexusPlayer' in bot: | 166 if 'NexusPlayer' in bot: |
| 167 match.append('~ResourceCache') | 167 match.append('~ResourceCache') |
| 168 | 168 |
| 169 if 'iOS' in bot: | 169 if 'iOS' in bot: |
| 170 match.append('~WritePixels') | 170 match.append('~WritePixels') |
| 171 | 171 |
| 172 if 'GalaxyS4' in bot: # skia:4079 | 172 if 'GalaxyS4' in bot: # skia:4079 |
| 173 match.append('~imagefiltersclipped') | 173 match.append('~imagefiltersclipped') |
| 174 match.append('~imagefilterscropexpand') |
| 174 match.append('~scaled_tilemodes_npot') | 175 match.append('~scaled_tilemodes_npot') |
| 175 match.append('~bleed_image') # skia:4367 | 176 match.append('~bleed_image') # skia:4367 |
| 176 match.append('~ReadPixels') # skia:4368 | 177 match.append('~ReadPixels') # skia:4368 |
| 177 | 178 |
| 178 if match: | 179 if match: |
| 179 args.append('--match') | 180 args.append('--match') |
| 180 args.extend(match) | 181 args.extend(match) |
| 181 | 182 |
| 182 return args | 183 return args |
| 183 cov_end = lineno() # Don't care about code coverage past here. | 184 cov_end = lineno() # Don't care about code coverage past here. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 222 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 222 self_test() | 223 self_test() |
| 223 sys.exit(0) | 224 sys.exit(0) |
| 224 | 225 |
| 225 if len(sys.argv) != 3: | 226 if len(sys.argv) != 3: |
| 226 print usage | 227 print usage |
| 227 sys.exit(1) | 228 sys.exit(1) |
| 228 | 229 |
| 229 with open(sys.argv[1], 'w') as out: | 230 with open(sys.argv[1], 'w') as out: |
| 230 json.dump(get_args(sys.argv[2]), out) | 231 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |