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

Side by Side Diff: tools/nanobench_flags.py

Issue 1104693002: Blacklist desk_unicodetable SKP on Nexus Player (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Dial back dm_flags Created 5 years, 8 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 match = [] 55 match = []
56 if 'Android' in bot: 56 if 'Android' in bot:
57 # Segfaults when run as GPU bench. Very large texture? 57 # Segfaults when run as GPU bench. Very large texture?
58 match.append('~blurroundrect') 58 match.append('~blurroundrect')
59 match.append('~patch_grid') # skia:2847 59 match.append('~patch_grid') # skia:2847
60 match.append('~desk_carsvg') 60 match.append('~desk_carsvg')
61 if 'HD2000' in bot: 61 if 'HD2000' in bot:
62 match.extend(['~gradient', '~etc1bitmap']) # skia:2895 62 match.extend(['~gradient', '~etc1bitmap']) # skia:2895
63 if 'Nexus7' in bot: 63 if 'Nexus7' in bot:
64 match = ['skp'] # skia:2774 64 match = ['skp'] # skia:2774
65 if 'NexusPlayer' in bot:
66 match.append('~desk_unicodetable')
67
65 if match: 68 if match:
66 args.append('--match') 69 args.append('--match')
67 args.extend(match) 70 args.extend(match)
68 71
69 return args 72 return args
70 cov_end = lineno() # Don't care about code coverage past here. 73 cov_end = lineno() # Don't care about code coverage past here.
71 74
72 75
73 def self_test(): 76 def self_test():
74 import coverage # This way the bots don't need coverage.py to be installed. 77 import coverage # This way the bots don't need coverage.py to be installed.
75 args = {} 78 args = {}
76 cases = [ 79 cases = [
77 'Perf-Android-Nexus7-Tegra3-Arm7-Release', 80 'Perf-Android-Nexus7-Tegra3-Arm7-Release',
81 'Perf-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Release',
78 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 82 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
79 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', 83 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
80 ] 84 ]
81 85
82 cov = coverage.coverage() 86 cov = coverage.coverage()
83 cov.start() 87 cov.start()
84 for case in cases: 88 for case in cases:
85 args[case] = get_args(case) 89 args[case] = get_args(case)
86 cov.stop() 90 cov.stop()
87 91
(...skipping 13 matching lines...) Expand all
101 if len(sys.argv) == 2 and sys.argv[1] == 'test': 105 if len(sys.argv) == 2 and sys.argv[1] == 'test':
102 self_test() 106 self_test()
103 sys.exit(0) 107 sys.exit(0)
104 108
105 if len(sys.argv) != 3: 109 if len(sys.argv) != 3:
106 print usage 110 print usage
107 sys.exit(1) 111 sys.exit(1)
108 112
109 with open(sys.argv[1], 'w') as out: 113 with open(sys.argv[1], 'w') as out:
110 json.dump(get_args(sys.argv[2]), out) 114 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