| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 190   if 'iOS' in bot: | 190   if 'iOS' in bot: | 
| 191     match.append('~WritePixels') | 191     match.append('~WritePixels') | 
| 192 | 192 | 
| 193   if 'GalaxyS4' in bot:  # skia:4079 | 193   if 'GalaxyS4' in bot:  # skia:4079 | 
| 194     match.append('~imagefiltersclipped') | 194     match.append('~imagefiltersclipped') | 
| 195     match.append('~imagefilterscropexpand') | 195     match.append('~imagefilterscropexpand') | 
| 196     match.append('~scaled_tilemodes_npot') | 196     match.append('~scaled_tilemodes_npot') | 
| 197     match.append('~bleed_image')  # skia:4367 | 197     match.append('~bleed_image')  # skia:4367 | 
| 198     match.append('~ReadPixels')  # skia:4368 | 198     match.append('~ReadPixels')  # skia:4368 | 
| 199 | 199 | 
|  | 200   if 'ANGLE' in bot and 'Debug' in bot: | 
|  | 201     match.append('~GLPrograms') # skia:4717 | 
|  | 202 | 
| 200   if match: | 203   if match: | 
| 201     args.append('--match') | 204     args.append('--match') | 
| 202     args.extend(match) | 205     args.extend(match) | 
| 203 | 206 | 
| 204   return args | 207   return args | 
| 205 cov_end = lineno()   # Don't care about code coverage past here. | 208 cov_end = lineno()   # Don't care about code coverage past here. | 
| 206 | 209 | 
| 207 | 210 | 
| 208 def self_test(): | 211 def self_test(): | 
| 209   import coverage  # This way the bots don't need coverage.py to be installed. | 212   import coverage  # This way the bots don't need coverage.py to be installed. | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 245   if len(sys.argv) == 2 and sys.argv[1] == 'test': | 248   if len(sys.argv) == 2 and sys.argv[1] == 'test': | 
| 246     self_test() | 249     self_test() | 
| 247     sys.exit(0) | 250     sys.exit(0) | 
| 248 | 251 | 
| 249   if len(sys.argv) != 3: | 252   if len(sys.argv) != 3: | 
| 250     print usage | 253     print usage | 
| 251     sys.exit(1) | 254     sys.exit(1) | 
| 252 | 255 | 
| 253   with open(sys.argv[1], 'w') as out: | 256   with open(sys.argv[1], 'w') as out: | 
| 254     json.dump(get_args(sys.argv[2]), out) | 257     json.dump(get_args(sys.argv[2]), out) | 
| OLD | NEW | 
|---|