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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 blacklist.extend('_ image decode _'.split(' ')) | 111 blacklist.extend('_ image decode _'.split(' ')) |
112 blacklist.extend('_ image subset _'.split(' ')) | 112 blacklist.extend('_ image subset _'.split(' ')) |
113 | 113 |
114 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test | 114 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test |
115 # running forever | 115 # running forever |
116 if 'Win7' in bot: | 116 if 'Win7' in bot: |
117 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) | 117 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' ')) |
118 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) | 118 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' ')) |
119 | 119 |
120 # Drawing SKPs or images into GPU canvases is a New Thing. | 120 # Drawing SKPs or images into GPU canvases is a New Thing. |
121 # It seems like we're running out of RAM on some Android bots, so start off | 121 # We are running out of RAM on some Android bots, so we are restricting |
122 # with a very wide blacklist disabling all these tests on all Android bots. | 122 # all GPU Android bots to only run tests and GMs. |
123 if 'Android' in bot: # skia:3255 | 123 if ('Android' in bot and |
124 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 124 'GPU' in bot): |
125 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) | 125 args.extend('--src tests gm'.split(' ')) |
mtklein
2015/06/10 15:56:19
FWIW, msaa blacklisted both msaa4 and msaa16. The
| |
126 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | |
127 | 126 |
128 if 'Valgrind' in bot: | 127 if 'Valgrind' in bot: |
129 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 | 128 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 |
130 blacklist.extend('pdf _ _ .webp'.split(' ')) | 129 blacklist.extend('pdf _ _ .webp'.split(' ')) |
131 # These take 18+ hours to run. | 130 # These take 18+ hours to run. |
132 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) | 131 blacklist.extend('pdf gm _ fontmgr_iter'.split(' ')) |
133 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) | 132 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' ')) |
134 blacklist.extend('pdf skp _ worldjournal'.split(' ')) | 133 blacklist.extend('pdf skp _ worldjournal'.split(' ')) |
135 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) | 134 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) |
136 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) | 135 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 210 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
212 self_test() | 211 self_test() |
213 sys.exit(0) | 212 sys.exit(0) |
214 | 213 |
215 if len(sys.argv) != 3: | 214 if len(sys.argv) != 3: |
216 print usage | 215 print usage |
217 sys.exit(1) | 216 sys.exit(1) |
218 | 217 |
219 with open(sys.argv[1], 'w') as out: | 218 with open(sys.argv[1], 'w') as out: |
220 json.dump(get_args(sys.argv[2]), out) | 219 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |