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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 if 'Nexus7' in bot: | 66 if 'Nexus7' in bot: |
67 match = ['skp'] # skia:2774 | 67 match = ['skp'] # skia:2774 |
68 if 'NexusPlayer' in bot: | 68 if 'NexusPlayer' in bot: |
69 match.append('~desk_unicodetable') | 69 match.append('~desk_unicodetable') |
70 | 70 |
71 if 'iOS' in bot: | 71 if 'iOS' in bot: |
72 match.append('~blurroundrect') | 72 match.append('~blurroundrect') |
73 match.append('~patch_grid') # skia:2847 | 73 match.append('~patch_grid') # skia:2847 |
74 match.append('~desk_carsvg') | 74 match.append('~desk_carsvg') |
75 match.append('~keymobi') | 75 match.append('~keymobi') |
| 76 match.append('~path_hairline') |
76 | 77 |
77 if match: | 78 if match: |
78 args.append('--match') | 79 args.append('--match') |
79 args.extend(match) | 80 args.extend(match) |
80 | 81 |
81 return args | 82 return args |
82 cov_end = lineno() # Don't care about code coverage past here. | 83 cov_end = lineno() # Don't care about code coverage past here. |
83 | 84 |
84 | 85 |
85 def self_test(): | 86 def self_test(): |
(...skipping 29 matching lines...) Expand all Loading... |
115 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 116 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
116 self_test() | 117 self_test() |
117 sys.exit(0) | 118 sys.exit(0) |
118 | 119 |
119 if len(sys.argv) != 3: | 120 if len(sys.argv) != 3: |
120 print usage | 121 print usage |
121 sys.exit(1) | 122 sys.exit(1) |
122 | 123 |
123 with open(sys.argv[1], 'w') as out: | 124 with open(sys.argv[1], 'w') as out: |
124 json.dump(get_args(sys.argv[2]), out) | 125 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |