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