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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 | 188 |
189 if 'ANGLE' in bot and 'Debug' in bot: | 189 if 'ANGLE' in bot and 'Debug' in bot: |
190 match.append('~GLPrograms') # skia:4717 | 190 match.append('~GLPrograms') # skia:4717 |
191 | 191 |
192 # Hacking around trying to get the MSAN bot green. | 192 # Hacking around trying to get the MSAN bot green. |
193 if 'MSAN' in bot: | 193 if 'MSAN' in bot: |
194 blacklist.extend(('_ image _ .wbmp').split(' ')) # skia:4900 | 194 blacklist.extend(('_ image _ .wbmp').split(' ')) # skia:4900 |
195 blacklist.extend(('_ image _ .png').split(' ')) # I8 .png color tables | 195 blacklist.extend(('_ image _ .png').split(' ')) # I8 .png color tables |
196 blacklist.extend(('_ image _ .bmp').split(' ')) # I8 .bmp color tables | 196 blacklist.extend(('_ image _ .bmp').split(' ')) # I8 .bmp color tables |
197 | 197 |
198 match.append('~FontMgrAndroidParser') # expat currently uninstrumented. | |
199 | |
200 if blacklist: | 198 if blacklist: |
201 args.append('--blacklist') | 199 args.append('--blacklist') |
202 args.extend(blacklist) | 200 args.extend(blacklist) |
203 | 201 |
204 if match: | 202 if match: |
205 args.append('--match') | 203 args.append('--match') |
206 args.extend(match) | 204 args.extend(match) |
207 | 205 |
208 return args | 206 return args |
209 cov_end = lineno() # Don't care about code coverage past here. | 207 cov_end = lineno() # Don't care about code coverage past here. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 248 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
251 self_test() | 249 self_test() |
252 sys.exit(0) | 250 sys.exit(0) |
253 | 251 |
254 if len(sys.argv) != 3: | 252 if len(sys.argv) != 3: |
255 print usage | 253 print usage |
256 sys.exit(1) | 254 sys.exit(1) |
257 | 255 |
258 with open(sys.argv[1], 'w') as out: | 256 with open(sys.argv[1], 'w') as out: |
259 json.dump(get_args(sys.argv[2]), out) | 257 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |