| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | 108 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) |
| 109 | 109 |
| 110 if 'Valgrind' in bot: | 110 if 'Valgrind' in bot: |
| 111 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 | 111 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 |
| 112 blacklist.extend('pdf _ _ .webp'.split(' ')) | 112 blacklist.extend('pdf _ _ .webp'.split(' ')) |
| 113 # These take 18+ hours to run. | 113 # These take 18+ hours to run. |
| 114 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) | 114 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) |
| 115 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) | 115 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) |
| 116 blacklist.extend('pdf skp _ worldjournal'.split(' ')) | 116 blacklist.extend('pdf skp _ worldjournal'.split(' ')) |
| 117 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) | 117 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) |
| 118 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) |
| 118 | 119 |
| 119 if blacklist: | 120 if blacklist: |
| 120 args.append('--blacklist') | 121 args.append('--blacklist') |
| 121 args.extend(blacklist) | 122 args.extend(blacklist) |
| 122 | 123 |
| 123 match = [] | 124 match = [] |
| 124 if 'Valgrind' in bot: # skia:3021 | 125 if 'Valgrind' in bot: # skia:3021 |
| 125 match.append('~Threaded') | 126 match.append('~Threaded') |
| 126 if 'TSAN' in bot: # skia:3562 | 127 if 'TSAN' in bot: # skia:3562 |
| 127 match.append('~Math') | 128 match.append('~Math') |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 182 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 182 self_test() | 183 self_test() |
| 183 sys.exit(0) | 184 sys.exit(0) |
| 184 | 185 |
| 185 if len(sys.argv) != 3: | 186 if len(sys.argv) != 3: |
| 186 print usage | 187 print usage |
| 187 sys.exit(1) | 188 sys.exit(1) |
| 188 | 189 |
| 189 with open(sys.argv[1], 'w') as out: | 190 with open(sys.argv[1], 'w') as out: |
| 190 json.dump(get_args(sys.argv[2]), out) | 191 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |