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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 if 'iOS' in bot: | 76 if 'iOS' in bot: |
77 match.append('~blurroundrect') | 77 match.append('~blurroundrect') |
78 match.append('~patch_grid') # skia:2847 | 78 match.append('~patch_grid') # skia:2847 |
79 match.append('~desk_carsvg') | 79 match.append('~desk_carsvg') |
80 match.append('~keymobi') | 80 match.append('~keymobi') |
81 match.append('~path_hairline') | 81 match.append('~path_hairline') |
82 | 82 |
83 # the 32-bit GCE bots run out of memory in DM when running these large images | 83 # the 32-bit GCE bots run out of memory in DM when running these large images |
84 # so defensively disable them in nanobench, too. | 84 # so defensively disable them in nanobench, too. |
85 # FIXME (scroggo): This may have just been due to SkImageDecoder's | 85 # FIXME (scroggo): This may have just been due to SkImageDecoder's |
86 # buildTileIndex leaking memory (skbug.com/4360). That is disabled by | 86 # buildTileIndex leaking memory (https://bug.skia.org/4360). That is |
87 # default for nanobench, so we may not need this. | 87 # disabled by default for nanobench, so we may not need this. |
88 # FIXME (scroggo): Share image blacklists between dm and nanobench? | 88 # FIXME (scroggo): Share image blacklists between dm and nanobench? |
89 if 'x86' in bot and not 'x86-64' in bot: | 89 if 'x86' in bot and not 'x86-64' in bot: |
90 match.append('~interlaced1.png') | 90 match.append('~interlaced1.png') |
91 match.append('~interlaced2.png') | 91 match.append('~interlaced2.png') |
92 match.append('~interlaced3.png') | 92 match.append('~interlaced3.png') |
93 | 93 |
94 if match: | 94 if match: |
95 args.append('--match') | 95 args.append('--match') |
96 args.extend(match) | 96 args.extend(match) |
97 | 97 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 133 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
134 self_test() | 134 self_test() |
135 sys.exit(0) | 135 sys.exit(0) |
136 | 136 |
137 if len(sys.argv) != 3: | 137 if len(sys.argv) != 3: |
138 print usage | 138 print usage |
139 sys.exit(1) | 139 sys.exit(1) |
140 | 140 |
141 with open(sys.argv[1], 'w') as out: | 141 with open(sys.argv[1], 'w') as out: |
142 json.dump(get_args(sys.argv[2]), out) | 142 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |