| 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) | 150 blacklist.extend('_ image gen_platf 8bpp-pixeldata-cropped.bmp'.split(' ')) |
| 151 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) | 151 blacklist.extend('_ image gen_platf 4bpp-pixeldata-cropped.bmp'.split(' ')) |
| 152 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) | 152 blacklist.extend('_ image gen_platf 32bpp-pixeldata-cropped.bmp'.split(' ')) |
| 153 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) | 153 blacklist.extend('_ image gen_platf 24bpp-pixeldata-cropped.bmp'.split(' ')) |
| 154 | 154 |
| 155 # skia:4095 | 155 # skia:4095 |
| 156 for test in ['not_native32_bitmap_config', | 156 for test in ['not_native32_bitmap_config', |
| 157 'bleed_image', | 157 'bleed_image', |
| 158 'bleed_alpha_image', | 158 'bleed_alpha_image', |
| 159 'bleed_alpha_image_shader', | 159 'bleed_alpha_image_shader', |
| 160 'blend', | |
| 161 'c_gms', | 160 'c_gms', |
| 162 'colortype', | 161 'colortype', |
| 163 'colortype_xfermodes', | 162 'colortype_xfermodes', |
| 164 'colorwheelnative', | 163 'colorwheelnative', |
| 165 'drawfilter', | 164 'drawfilter', |
| 166 'fontmgr_bounds_0.75_0', | 165 'fontmgr_bounds_0.75_0', |
| 167 'fontmgr_bounds_1_-0.25', | 166 'fontmgr_bounds_1_-0.25', |
| 168 'fontmgr_bounds', | 167 'fontmgr_bounds', |
| 169 'fontmgr_match', | 168 'fontmgr_match', |
| 170 'fontmgr_iter', | 169 'fontmgr_iter', |
| 171 'lightingshader', | 170 'lightingshader', |
| 172 'path_stroke_with_zero_length', | 171 'path_stroke_with_zero_length', |
| 173 'textblobgeometrychange', | 172 'textblobgeometrychange', |
| 174 'verylargebitmap', # Windows only. | 173 'verylargebitmap', # Windows only. |
| 175 'verylarge_picture_image']: # Windows only. | 174 'verylarge_picture_image']: # Windows only. |
| 176 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 175 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 177 # skia:4769 | 176 # skia:4769 |
| 178 for test in ['blend', | 177 for test in ['drawfilter', |
| 179 'drawfilter', | |
| 180 'path_stroke_with_zero_length', | 178 'path_stroke_with_zero_length', |
| 181 'textblobgeometrychange']: | 179 'textblobgeometrychange']: |
| 182 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 180 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
| 183 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 181 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
| 184 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 182 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
| 185 for test in ['patch_primitive']: | 183 for test in ['patch_primitive']: |
| 186 blacklist.extend(['sp-8888', 'gm', '_', test]) | 184 blacklist.extend(['sp-8888', 'gm', '_', test]) |
| 187 # skia:4703 | 185 # skia:4703 |
| 188 for test in ['image-cacherator-from-picture', | 186 for test in ['image-cacherator-from-picture', |
| 189 'image-cacherator-from-raster', | 187 'image-cacherator-from-raster', |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 295 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 298 self_test() | 296 self_test() |
| 299 sys.exit(0) | 297 sys.exit(0) |
| 300 | 298 |
| 301 if len(sys.argv) != 3: | 299 if len(sys.argv) != 3: |
| 302 print usage | 300 print usage |
| 303 sys.exit(1) | 301 sys.exit(1) |
| 304 | 302 |
| 305 with open(sys.argv[1], 'w') as out: | 303 with open(sys.argv[1], 'w') as out: |
| 306 json.dump(get_args(sys.argv[2]), out) | 304 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |