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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 'fontmgr_iter', | 169 'fontmgr_iter', |
170 'lightingshader', | 170 'lightingshader', |
171 'verylargebitmap', # Windows only. | 171 'verylargebitmap', # Windows only. |
172 'verylarge_picture_image']: # Windows only. | 172 'verylarge_picture_image']: # Windows only. |
173 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 173 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
174 # skia:4769 | 174 # skia:4769 |
175 for test in ['drawfilter']: | 175 for test in ['drawfilter']: |
176 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 176 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
177 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 177 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
178 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) | 178 blacklist.extend(['2ndpic-8888', 'gm', '_', test]) |
179 for test in ['patch_primitive']: | |
180 blacklist.extend(['sp-8888', 'gm', '_', test]) | |
181 # skia:4703 | 179 # skia:4703 |
182 for test in ['image-cacherator-from-picture', | 180 for test in ['image-cacherator-from-picture', |
183 'image-cacherator-from-raster', | 181 'image-cacherator-from-raster', |
184 'image-cacherator-from-ctable']: | 182 'image-cacherator-from-ctable']: |
185 blacklist.extend([ 'sp-8888', 'gm', '_', test]) | 183 blacklist.extend([ 'sp-8888', 'gm', '_', test]) |
186 blacklist.extend([ 'pic-8888', 'gm', '_', test]) | 184 blacklist.extend([ 'pic-8888', 'gm', '_', test]) |
187 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) | 185 blacklist.extend([ '2ndpic-8888', 'gm', '_', test]) |
188 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 186 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
189 | 187 |
190 # Extensions for RAW images | 188 # Extensions for RAW images |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 289 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
292 self_test() | 290 self_test() |
293 sys.exit(0) | 291 sys.exit(0) |
294 | 292 |
295 if len(sys.argv) != 3: | 293 if len(sys.argv) != 3: |
296 print usage | 294 print usage |
297 sys.exit(1) | 295 sys.exit(1) |
298 | 296 |
299 with open(sys.argv[1], 'w') as out: | 297 with open(sys.argv[1], 'w') as out: |
300 json.dump(get_args(sys.argv[2]), out) | 298 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |