| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 'path_stroke_with_zero_length', | 190 'path_stroke_with_zero_length', |
| 191 'textblobgeometrychange', | 191 'textblobgeometrychange', |
| 192 'verylargebitmap', # Windows only. | 192 'verylargebitmap', # Windows only. |
| 193 'verylarge_picture_image']: # Windows only. | 193 'verylarge_picture_image']: # Windows only. |
| 194 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 194 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 195 # skia:4769 | 195 # skia:4769 |
| 196 for test in ['blend', | 196 for test in ['blend', |
| 197 'drawfilter', | 197 'drawfilter', |
| 198 'path_stroke_with_zero_length', | 198 'path_stroke_with_zero_length', |
| 199 'textblobgeometrychange']: | 199 'textblobgeometrychange']: |
| 200 blacklist.extend(['pic-8888', 'gm', '_', test]) | 200 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
| 201 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
| 201 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 202 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
| 202 blacklist.extend(['sp-8888', 'gm', '_', test]) | |
| 203 for test in ['patch_primitive']: | 203 for test in ['patch_primitive']: |
| 204 blacklist.extend(['sp-8888', 'gm', '_', test]) | 204 blacklist.extend(['sp-8888', 'gm', '_', test]) |
| 205 # skia:4703 |
| 206 for test in ['image-cacherator-from-picture', |
| 207 'image-cacherator-from-raster', |
| 208 'image-cacherator-from-ctable']: |
| 209 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
| 210 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
| 211 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) |
| 212 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 205 | 213 |
| 206 if blacklist: | 214 if blacklist: |
| 207 args.append('--blacklist') | 215 args.append('--blacklist') |
| 208 args.extend(blacklist) | 216 args.extend(blacklist) |
| 209 | 217 |
| 210 match = [] | 218 match = [] |
| 211 if 'Valgrind' in bot: # skia:3021 | 219 if 'Valgrind' in bot: # skia:3021 |
| 212 match.append('~Threaded') | 220 match.append('~Threaded') |
| 213 | 221 |
| 214 if 'GalaxyS3' in bot: # skia:1699 | 222 if 'GalaxyS3' in bot: # skia:1699 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 286 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 279 self_test() | 287 self_test() |
| 280 sys.exit(0) | 288 sys.exit(0) |
| 281 | 289 |
| 282 if len(sys.argv) != 3: | 290 if len(sys.argv) != 3: |
| 283 print usage | 291 print usage |
| 284 sys.exit(1) | 292 sys.exit(1) |
| 285 | 293 |
| 286 with open(sys.argv[1], 'w') as out: | 294 with open(sys.argv[1], 'w') as out: |
| 287 json.dump(get_args(sys.argv[2]), out) | 295 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |