| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 blacklist.extend('_ image _ interlaced2.png'.split(' ')) | 161 blacklist.extend('_ image _ interlaced2.png'.split(' ')) |
| 162 blacklist.extend('_ image _ interlaced3.png'.split(' ')) | 162 blacklist.extend('_ image _ interlaced3.png'.split(' ')) |
| 163 | 163 |
| 164 if blacklist: | 164 if blacklist: |
| 165 args.append('--blacklist') | 165 args.append('--blacklist') |
| 166 args.extend(blacklist) | 166 args.extend(blacklist) |
| 167 | 167 |
| 168 match = [] | 168 match = [] |
| 169 if 'Valgrind' in bot: # skia:3021 | 169 if 'Valgrind' in bot: # skia:3021 |
| 170 match.append('~Threaded') | 170 match.append('~Threaded') |
| 171 if 'TSAN' in bot: # skia:3562 | 171 |
| 172 # skia:3562 |
| 173 if ('TSAN' in bot or |
| 174 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release' in bot): |
| 172 match.append('~Math') | 175 match.append('~Math') |
| 173 | 176 |
| 174 if 'GalaxyS3' in bot: # skia:1699 | 177 if 'GalaxyS3' in bot: # skia:1699 |
| 175 match.append('~WritePixels') | 178 match.append('~WritePixels') |
| 176 | 179 |
| 177 # skia:3249: these images flakily don't decode on Android. | 180 # skia:3249: these images flakily don't decode on Android. |
| 178 if 'Android' in bot: | 181 if 'Android' in bot: |
| 179 match.append('~tabl_mozilla_0') | 182 match.append('~tabl_mozilla_0') |
| 180 match.append('~desk_yahoonews_0') | 183 match.append('~desk_yahoonews_0') |
| 181 | 184 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 241 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 239 self_test() | 242 self_test() |
| 240 sys.exit(0) | 243 sys.exit(0) |
| 241 | 244 |
| 242 if len(sys.argv) != 3: | 245 if len(sys.argv) != 3: |
| 243 print usage | 246 print usage |
| 244 sys.exit(1) | 247 sys.exit(1) |
| 245 | 248 |
| 246 with open(sys.argv[1], 'w') as out: | 249 with open(sys.argv[1], 'w') as out: |
| 247 json.dump(get_args(sys.argv[2]), out) | 250 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |