| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 171 |
| 172 # skia:3562 |
| 173 if ('TSAN' in bot or |
| 174 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release' in bot): |
| 175 match.append('~Math') |
| 176 |
| 172 if 'GalaxyS3' in bot: # skia:1699 | 177 if 'GalaxyS3' in bot: # skia:1699 |
| 173 match.append('~WritePixels') | 178 match.append('~WritePixels') |
| 174 | 179 |
| 175 # skia:3249: these images flakily don't decode on Android. | 180 # skia:3249: these images flakily don't decode on Android. |
| 176 if 'Android' in bot: | 181 if 'Android' in bot: |
| 177 match.append('~tabl_mozilla_0') | 182 match.append('~tabl_mozilla_0') |
| 178 match.append('~desk_yahoonews_0') | 183 match.append('~desk_yahoonews_0') |
| 179 | 184 |
| 180 if 'NexusPlayer' in bot: | 185 if 'NexusPlayer' in bot: |
| 181 match.append('~ResourceCache') | 186 match.append('~ResourceCache') |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 241 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 237 self_test() | 242 self_test() |
| 238 sys.exit(0) | 243 sys.exit(0) |
| 239 | 244 |
| 240 if len(sys.argv) != 3: | 245 if len(sys.argv) != 3: |
| 241 print usage | 246 print usage |
| 242 sys.exit(1) | 247 sys.exit(1) |
| 243 | 248 |
| 244 with open(sys.argv[1], 'w') as out: | 249 with open(sys.argv[1], 'w') as out: |
| 245 json.dump(get_args(sys.argv[2]), out) | 250 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |