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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' ')) | 66 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' ')) |
67 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' ')) | 67 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' ')) |
68 blacklist.extend('_ image decode rgb32bf.bmp'.split(' ')) | 68 blacklist.extend('_ image decode rgb32bf.bmp'.split(' ')) |
69 blacklist.extend('_ image decode rgba32.bmp'.split(' ')) | 69 blacklist.extend('_ image decode rgba32.bmp'.split(' ')) |
70 blacklist.extend('_ image decode rgba32abf.bmp'.split(' ')) | 70 blacklist.extend('_ image decode rgba32abf.bmp'.split(' ')) |
71 blacklist.extend('_ image decode rgb24largepal.bmp'.split(' ')) | 71 blacklist.extend('_ image decode rgb24largepal.bmp'.split(' ')) |
72 blacklist.extend('_ image decode pal8os2v2-16.bmp'.split(' ')) | 72 blacklist.extend('_ image decode pal8os2v2-16.bmp'.split(' ')) |
73 blacklist.extend('_ image decode pal8oversizepal.bmp'.split(' ')) | 73 blacklist.extend('_ image decode pal8oversizepal.bmp'.split(' ')) |
74 blacklist.extend('_ image decode pal4rletrns.bmp'.split(' ')) | 74 blacklist.extend('_ image decode pal4rletrns.bmp'.split(' ')) |
75 blacklist.extend('_ image decode pal8rletrns.bmp'.split(' ')) | 75 blacklist.extend('_ image decode pal8rletrns.bmp'.split(' ')) |
| 76 blacklist.extend('_ image decode 4bpp-pixeldata-cropped.bmp'.split(' ')) |
| 77 blacklist.extend('_ image decode 8bpp-pixeldata-cropped.bmp'.split(' ')) |
| 78 blacklist.extend('_ image decode 24bpp-pixeldata-cropped.bmp'.split(' ')) |
| 79 blacklist.extend('_ image decode 32bpp-pixeldata-cropped.bmp'.split(' ')) |
76 blacklist.extend('_ image subset rgb24largepal.bmp'.split(' ')) | 80 blacklist.extend('_ image subset rgb24largepal.bmp'.split(' ')) |
77 blacklist.extend('_ image subset pal8os2v2-16.bmp'.split(' ')) | 81 blacklist.extend('_ image subset pal8os2v2-16.bmp'.split(' ')) |
78 blacklist.extend('_ image subset pal8oversizepal.bmp'.split(' ')) | 82 blacklist.extend('_ image subset pal8oversizepal.bmp'.split(' ')) |
| 83 blacklist.extend('_ image subset 4bpp-pixeldata-cropped.bmp'.split(' ')) |
| 84 blacklist.extend('_ image subset 8bpp-pixeldata-cropped.bmp'.split(' ')) |
| 85 blacklist.extend('_ image subset 24bpp-pixeldata-cropped.bmp'.split(' ')) |
| 86 blacklist.extend('_ image subset 32bpp-pixeldata-cropped.bmp'.split(' ')) |
79 | 87 |
80 # New ico files that fail on SkImageDecoder | 88 # New ico files that fail on SkImageDecoder |
81 blacklist.extend('_ image decode Hopstarter-Mac-Folders-Apple.ico'.split(' ')) | 89 blacklist.extend('_ image decode Hopstarter-Mac-Folders-Apple.ico'.split(' ')) |
82 | 90 |
83 # Leon doesn't care about this, so why run it? | 91 # Leon doesn't care about this, so why run it? |
84 if 'Win' in bot: | 92 if 'Win' in bot: |
85 blacklist.extend('_ image decode _'.split(' ')) | 93 blacklist.extend('_ image decode _'.split(' ')) |
86 blacklist.extend('_ image subset _'.split(' ')) | 94 blacklist.extend('_ image subset _'.split(' ')) |
87 | 95 |
88 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test | 96 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 181 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
174 self_test() | 182 self_test() |
175 sys.exit(0) | 183 sys.exit(0) |
176 | 184 |
177 if len(sys.argv) != 3: | 185 if len(sys.argv) != 3: |
178 print usage | 186 print usage |
179 sys.exit(1) | 187 sys.exit(1) |
180 | 188 |
181 with open(sys.argv[1], 'w') as out: | 189 with open(sys.argv[1], 'w') as out: |
182 json.dump(get_args(sys.argv[2]), out) | 190 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |