| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | 141 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) |
| 142 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 142 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
| 143 | 143 |
| 144 if blacklist: | 144 if blacklist: |
| 145 args.append('--blacklist') | 145 args.append('--blacklist') |
| 146 args.extend(blacklist) | 146 args.extend(blacklist) |
| 147 | 147 |
| 148 match = [] | 148 match = [] |
| 149 if 'Valgrind' in bot: # skia:3021 | 149 if 'Valgrind' in bot: # skia:3021 |
| 150 match.append('~Threaded') | 150 match.append('~Threaded') |
| 151 if 'TSAN' in bot: | 151 if 'TSAN' in bot: # skia:3562 |
| 152 match.append('~Math') # skia:3562 | 152 match.append('~Math') |
| 153 match.append('~SkSharedMutexMultiThreaded') # skia:3997 | |
| 154 | 153 |
| 155 if 'GalaxyS3' in bot: # skia:1699 | 154 if 'GalaxyS3' in bot: # skia:1699 |
| 156 match.append('~WritePixels') | 155 match.append('~WritePixels') |
| 157 | 156 |
| 158 # skia:3249: these images flakily don't decode on Android. | 157 # skia:3249: these images flakily don't decode on Android. |
| 159 if 'Android' in bot: | 158 if 'Android' in bot: |
| 160 match.append('~tabl_mozilla_0') | 159 match.append('~tabl_mozilla_0') |
| 161 match.append('~desk_yahoonews_0') | 160 match.append('~desk_yahoonews_0') |
| 162 | 161 |
| 163 if 'NexusPlayer' in bot: | 162 if 'NexusPlayer' in bot: |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 211 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 213 self_test() | 212 self_test() |
| 214 sys.exit(0) | 213 sys.exit(0) |
| 215 | 214 |
| 216 if len(sys.argv) != 3: | 215 if len(sys.argv) != 3: |
| 217 print usage | 216 print usage |
| 218 sys.exit(1) | 217 sys.exit(1) |
| 219 | 218 |
| 220 with open(sys.argv[1], 'w') as out: | 219 with open(sys.argv[1], 'w') as out: |
| 221 json.dump(get_args(sys.argv[2]), out) | 220 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |