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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 match.append('~desk_unicodetable') | 73 match.append('~desk_unicodetable') |
74 if 'GalaxyS4' in bot: | 74 if 'GalaxyS4' in bot: |
75 match.append('~GLInstancedArraysBench') # skia:4371 | 75 match.append('~GLInstancedArraysBench') # skia:4371 |
76 | 76 |
77 if 'iOS' in bot: | 77 if 'iOS' in bot: |
78 match.append('~blurroundrect') | 78 match.append('~blurroundrect') |
79 match.append('~patch_grid') # skia:2847 | 79 match.append('~patch_grid') # skia:2847 |
80 match.append('~desk_carsvg') | 80 match.append('~desk_carsvg') |
81 match.append('~keymobi') | 81 match.append('~keymobi') |
82 match.append('~path_hairline') | 82 match.append('~path_hairline') |
| 83 match.append('~GLInstancedArraysBench') # skia:4714 |
83 | 84 |
84 # the 32-bit GCE bots run out of memory in DM when running these large images | 85 # the 32-bit GCE bots run out of memory in DM when running these large images |
85 # so defensively disable them in nanobench, too. | 86 # so defensively disable them in nanobench, too. |
86 # FIXME (scroggo): This may have just been due to SkImageDecoder's | 87 # FIXME (scroggo): This may have just been due to SkImageDecoder's |
87 # buildTileIndex leaking memory (https://bug.skia.org/4360). That is | 88 # buildTileIndex leaking memory (https://bug.skia.org/4360). That is |
88 # disabled by default for nanobench, so we may not need this. | 89 # disabled by default for nanobench, so we may not need this. |
89 # FIXME (scroggo): Share image blacklists between dm and nanobench? | 90 # FIXME (scroggo): Share image blacklists between dm and nanobench? |
90 if 'x86' in bot and not 'x86-64' in bot: | 91 if 'x86' in bot and not 'x86-64' in bot: |
91 match.append('~interlaced1.png') | 92 match.append('~interlaced1.png') |
92 match.append('~interlaced2.png') | 93 match.append('~interlaced2.png') |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 157 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
157 self_test() | 158 self_test() |
158 sys.exit(0) | 159 sys.exit(0) |
159 | 160 |
160 if len(sys.argv) != 3: | 161 if len(sys.argv) != 3: |
161 print usage | 162 print usage |
162 sys.exit(1) | 163 sys.exit(1) |
163 | 164 |
164 with open(sys.argv[1], 'w') as out: | 165 with open(sys.argv[1], 'w') as out: |
165 json.dump(get_args(sys.argv[2]), out) | 166 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |