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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 # Segfaults when run as GPU bench. Very large texture? | 62 # Segfaults when run as GPU bench. Very large texture? |
63 match.append('~blurroundrect') | 63 match.append('~blurroundrect') |
64 match.append('~patch_grid') # skia:2847 | 64 match.append('~patch_grid') # skia:2847 |
65 match.append('~desk_carsvg') | 65 match.append('~desk_carsvg') |
66 if 'HD2000' in bot: | 66 if 'HD2000' in bot: |
67 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 | 67 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 |
68 if 'NexusPlayer' in bot: | 68 if 'NexusPlayer' in bot: |
69 match.append('~desk_unicodetable') | 69 match.append('~desk_unicodetable') |
70 if 'GalaxyS4' in bot: | 70 if 'GalaxyS4' in bot: |
71 match.append('~GLInstancedArraysBench') # skia:4371 | 71 match.append('~GLInstancedArraysBench') # skia:4371 |
72 # skia:4373 | |
73 match.extend(['~GLVertexAttributesBench', '~GLVec4ScalarBench']) | |
74 | 72 |
75 if 'iOS' in bot: | 73 if 'iOS' in bot: |
76 match.append('~blurroundrect') | 74 match.append('~blurroundrect') |
77 match.append('~patch_grid') # skia:2847 | 75 match.append('~patch_grid') # skia:2847 |
78 match.append('~desk_carsvg') | 76 match.append('~desk_carsvg') |
79 match.append('~keymobi') | 77 match.append('~keymobi') |
80 match.append('~path_hairline') | 78 match.append('~path_hairline') |
81 | 79 |
82 if match: | 80 if match: |
83 args.append('--match') | 81 args.append('--match') |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 119 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
122 self_test() | 120 self_test() |
123 sys.exit(0) | 121 sys.exit(0) |
124 | 122 |
125 if len(sys.argv) != 3: | 123 if len(sys.argv) != 3: |
126 print usage | 124 print usage |
127 sys.exit(1) | 125 sys.exit(1) |
128 | 126 |
129 with open(sys.argv[1], 'w') as out: | 127 with open(sys.argv[1], 'w') as out: |
130 json.dump(get_args(sys.argv[2]), out) | 128 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |