| 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 'colortype', | 161 'colortype', |
| 162 'colortype_xfermodes', | 162 'colortype_xfermodes', |
| 163 'colorwheelnative', | 163 'colorwheelnative', |
| 164 'drawfilter', | 164 'drawfilter', |
| 165 'fontmgr_bounds_0.75_0', | 165 'fontmgr_bounds_0.75_0', |
| 166 'fontmgr_bounds_1_-0.25', | 166 'fontmgr_bounds_1_-0.25', |
| 167 'fontmgr_bounds', | 167 'fontmgr_bounds', |
| 168 'fontmgr_match', | 168 'fontmgr_match', |
| 169 'fontmgr_iter', | 169 'fontmgr_iter', |
| 170 'lightingshader', | 170 'lightingshader', |
| 171 'path_stroke_with_zero_length', | |
| 172 'verylargebitmap', # Windows only. | 171 'verylargebitmap', # Windows only. |
| 173 'verylarge_picture_image']: # Windows only. | 172 'verylarge_picture_image']: # Windows only. |
| 174 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 173 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 175 # skia:4769 | 174 # skia:4769 |
| 176 for test in ['drawfilter', | 175 for test in ['drawfilter']: |
| 177 'path_stroke_with_zero_length']: | |
| 178 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 176 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
| 179 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 177 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
| 180 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 178 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
| 181 for test in ['patch_primitive']: | 179 for test in ['patch_primitive']: |
| 182 blacklist.extend(['sp-8888', 'gm', '_', test]) | 180 blacklist.extend(['sp-8888', 'gm', '_', test]) |
| 183 # skia:4703 | 181 # skia:4703 |
| 184 for test in ['image-cacherator-from-picture', | 182 for test in ['image-cacherator-from-picture', |
| 185 'image-cacherator-from-raster', | 183 'image-cacherator-from-raster', |
| 186 'image-cacherator-from-ctable']: | 184 'image-cacherator-from-ctable']: |
| 187 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 185 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 291 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 294 self_test() | 292 self_test() |
| 295 sys.exit(0) | 293 sys.exit(0) |
| 296 | 294 |
| 297 if len(sys.argv) != 3: | 295 if len(sys.argv) != 3: |
| 298 print usage | 296 print usage |
| 299 sys.exit(1) | 297 sys.exit(1) |
| 300 | 298 |
| 301 with open(sys.argv[1], 'w') as out: | 299 with open(sys.argv[1], 'w') as out: |
| 302 json.dump(get_args(sys.argv[2]), out) | 300 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |