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