| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' ')) | 96 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' ')) |
| 97 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' ')) | 97 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' ')) |
| 98 | 98 |
| 99 if 'Valgrind' in bot: | 99 if 'Valgrind' in bot: |
| 100 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 | 100 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 |
| 101 blacklist.extend('pdf _ .webp'.split(' ')) | 101 blacklist.extend('pdf _ .webp'.split(' ')) |
| 102 # These take 18+ hours to run. | 102 # These take 18+ hours to run. |
| 103 blacklist.extend('pdf gm fontmgr_iter'.split(' ')) | 103 blacklist.extend('pdf gm fontmgr_iter'.split(' ')) |
| 104 blacklist.extend('pdf _ PANO_20121023_214540.jpg'.split(' ')) | 104 blacklist.extend('pdf _ PANO_20121023_214540.jpg'.split(' ')) |
| 105 blacklist.extend('pdf skp tabl_worldjournal.skp'.split(' ')) | 105 blacklist.extend('pdf skp tabl_worldjournal.skp'.split(' ')) |
| 106 blacklist.extend('pdf skp desk_baidu.skp'.split(' ')) |
| 106 | 107 |
| 107 if blacklist: | 108 if blacklist: |
| 108 args.append('--blacklist') | 109 args.append('--blacklist') |
| 109 args.extend(blacklist) | 110 args.extend(blacklist) |
| 110 | 111 |
| 111 match = [] | 112 match = [] |
| 112 if 'Valgrind' in bot: # skia:3021 | 113 if 'Valgrind' in bot: # skia:3021 |
| 113 match.append('~Threaded') | 114 match.append('~Threaded') |
| 114 if 'TSAN' in bot: # skia:3562 | 115 if 'TSAN' in bot: # skia:3562 |
| 115 match.append('~Math') | 116 match.append('~Math') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 170 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 170 self_test() | 171 self_test() |
| 171 sys.exit(0) | 172 sys.exit(0) |
| 172 | 173 |
| 173 if len(sys.argv) != 3: | 174 if len(sys.argv) != 3: |
| 174 print usage | 175 print usage |
| 175 sys.exit(1) | 176 sys.exit(1) |
| 176 | 177 |
| 177 with open(sys.argv[1], 'w') as out: | 178 with open(sys.argv[1], 'w') as out: |
| 178 json.dump(get_args(sys.argv[2]), out) | 179 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |