Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: tools/nanobench_flags.py

Issue 1144173004: Disabling ~path_hairline in iOS nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 if 'Nexus7' in bot: 66 if 'Nexus7' in bot:
67 match = ['skp'] # skia:2774 67 match = ['skp'] # skia:2774
68 if 'NexusPlayer' in bot: 68 if 'NexusPlayer' in bot:
69 match.append('~desk_unicodetable') 69 match.append('~desk_unicodetable')
70 70
71 if 'iOS' in bot: 71 if 'iOS' in bot:
72 match.append('~blurroundrect') 72 match.append('~blurroundrect')
73 match.append('~patch_grid') # skia:2847 73 match.append('~patch_grid') # skia:2847
74 match.append('~desk_carsvg') 74 match.append('~desk_carsvg')
75 match.append('~keymobi') 75 match.append('~keymobi')
76 match.append('~path_hairline')
76 77
77 if match: 78 if match:
78 args.append('--match') 79 args.append('--match')
79 args.extend(match) 80 args.extend(match)
80 81
81 return args 82 return args
82 cov_end = lineno() # Don't care about code coverage past here. 83 cov_end = lineno() # Don't care about code coverage past here.
83 84
84 85
85 def self_test(): 86 def self_test():
(...skipping 29 matching lines...) Expand all
115 if len(sys.argv) == 2 and sys.argv[1] == 'test': 116 if len(sys.argv) == 2 and sys.argv[1] == 'test':
116 self_test() 117 self_test()
117 sys.exit(0) 118 sys.exit(0)
118 119
119 if len(sys.argv) != 3: 120 if len(sys.argv) != 3:
120 print usage 121 print usage
121 sys.exit(1) 122 sys.exit(1)
122 123
123 with open(sys.argv[1], 'w') as out: 124 with open(sys.argv[1], 'w') as out:
124 json.dump(get_args(sys.argv[2]), out) 125 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698