| 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('~BlurLargeImage') # Bug in the GM? | |
| 199 match.append('~FontMgrAndroidParser') # expat currently uninstrumented. | 198 match.append('~FontMgrAndroidParser') # expat currently uninstrumented. |
| 200 | 199 |
| 201 if blacklist: | 200 if blacklist: |
| 202 args.append('--blacklist') | 201 args.append('--blacklist') |
| 203 args.extend(blacklist) | 202 args.extend(blacklist) |
| 204 | 203 |
| 205 if match: | 204 if match: |
| 206 args.append('--match') | 205 args.append('--match') |
| 207 args.extend(match) | 206 args.extend(match) |
| 208 | 207 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 250 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 252 self_test() | 251 self_test() |
| 253 sys.exit(0) | 252 sys.exit(0) |
| 254 | 253 |
| 255 if len(sys.argv) != 3: | 254 if len(sys.argv) != 3: |
| 256 print usage | 255 print usage |
| 257 sys.exit(1) | 256 sys.exit(1) |
| 258 | 257 |
| 259 with open(sys.argv[1], 'w') as out: | 258 with open(sys.argv[1], 'w') as out: |
| 260 json.dump(get_args(sys.argv[2]), out) | 259 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |