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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
104 blacklist.extend('_ image subset pal8os2v2-16.bmp'.split(' ')) | 104 blacklist.extend('_ image subset pal8os2v2-16.bmp'.split(' ')) |
105 blacklist.extend('_ image subset pal8oversizepal.bmp'.split(' ')) | 105 blacklist.extend('_ image subset pal8oversizepal.bmp'.split(' ')) |
106 blacklist.extend('_ image subset 4bpp-pixeldata-cropped.bmp'.split(' ')) | 106 blacklist.extend('_ image subset 4bpp-pixeldata-cropped.bmp'.split(' ')) |
107 blacklist.extend('_ image subset 8bpp-pixeldata-cropped.bmp'.split(' ')) | 107 blacklist.extend('_ image subset 8bpp-pixeldata-cropped.bmp'.split(' ')) |
108 blacklist.extend('_ image subset 24bpp-pixeldata-cropped.bmp'.split(' ')) | 108 blacklist.extend('_ image subset 24bpp-pixeldata-cropped.bmp'.split(' ')) |
109 blacklist.extend('_ image subset 32bpp-pixeldata-cropped.bmp'.split(' ')) | 109 blacklist.extend('_ image subset 32bpp-pixeldata-cropped.bmp'.split(' ')) |
110 | 110 |
111 # New ico files that fail on SkImageDecoder | 111 # New ico files that fail on SkImageDecoder |
112 blacklist.extend('_ image decode Hopstarter-Mac-Folders-Apple.ico'.split(' ')) | 112 blacklist.extend('_ image decode Hopstarter-Mac-Folders-Apple.ico'.split(' ')) |
113 | 113 |
114 # Incomplete image tests that fail on SkImageDecoder | |
115 blacklist.extend('_ image decode inc0.gif'.split(' ')) | |
msarett
2015/09/16 22:24:44
I will be uploading numerous incomplete test image
| |
116 blacklist.extend('_ image decode inc1.gif'.split(' ')) | |
117 blacklist.extend('_ image decode incInterlaced.gif'.split(' ')) | |
118 blacklist.extend('_ image decode inc0.jpg'.split(' ')) | |
119 blacklist.extend('_ image decode incGray.jpg'.split(' ')) | |
120 blacklist.extend('_ image decode inc0.wbmp'.split(' ')) | |
121 blacklist.extend('_ image decode inc1.wbmp'.split(' ')) | |
122 blacklist.extend('_ image decode inc0.webp'.split(' ')) | |
123 blacklist.extend('_ image decode inc1.webp'.split(' ')) | |
124 blacklist.extend('_ image decode inc0.ico'.split(' ')) | |
125 blacklist.extend('_ image decode inc1.ico'.split(' ')) | |
126 blacklist.extend('_ image decode inc0.png'.split(' ')) | |
127 blacklist.extend('_ image decode inc1.png'.split(' ')) | |
128 blacklist.extend('_ image decode inc2.png'.split(' ')) | |
129 blacklist.extend('_ image decode inc12.png'.split(' ')) | |
130 blacklist.extend('_ image decode inc13.png'.split(' ')) | |
131 blacklist.extend('_ image decode inc14.png'.split(' ')) | |
132 blacklist.extend('_ image subset inc0.webp'.split(' ')) | |
133 blacklist.extend('_ image subset inc1.webp'.split(' ')) | |
134 | |
114 # Leon doesn't care about this, so why run it? | 135 # Leon doesn't care about this, so why run it? |
115 if 'Win' in bot: | 136 if 'Win' in bot: |
116 blacklist.extend('_ image decode _'.split(' ')) | 137 blacklist.extend('_ image decode _'.split(' ')) |
117 blacklist.extend('_ image subset _'.split(' ')) | 138 blacklist.extend('_ image subset _'.split(' ')) |
118 | 139 |
119 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test | 140 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test |
120 # running forever | 141 # running forever |
121 if 'Win7' in bot: | 142 if 'Win7' in bot: |
122 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) | 143 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) |
123 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) | 144 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
218 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 239 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
219 self_test() | 240 self_test() |
220 sys.exit(0) | 241 sys.exit(0) |
221 | 242 |
222 if len(sys.argv) != 3: | 243 if len(sys.argv) != 3: |
223 print usage | 244 print usage |
224 sys.exit(1) | 245 sys.exit(1) |
225 | 246 |
226 with open(sys.argv[1], 'w') as out: | 247 with open(sys.argv[1], 'w') as out: |
227 json.dump(get_args(sys.argv[2]), out) | 248 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |