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

Side by Side Diff: tools/dm_flags.py

Issue 1528033002: Blacklist AndroidOne + WritePixelsTest (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 | « tools/dm_flags.json ('k') | 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if blacklist: 173 if blacklist:
174 args.append('--blacklist') 174 args.append('--blacklist')
175 args.extend(blacklist) 175 args.extend(blacklist)
176 176
177 match = [] 177 match = []
178 if 'Valgrind' in bot: # skia:3021 178 if 'Valgrind' in bot: # skia:3021
179 match.append('~Threaded') 179 match.append('~Threaded')
180 180
181 if 'GalaxyS3' in bot: # skia:1699 181 if 'GalaxyS3' in bot: # skia:1699
182 match.append('~WritePixels') 182 match.append('~WritePixels')
183
184 if 'AndroidOne' in bot: # skia:4711
185 match.append('~WritePixels')
183 186
184 if 'NexusPlayer' in bot: 187 if 'NexusPlayer' in bot:
185 match.append('~ResourceCache') 188 match.append('~ResourceCache')
186 189
187 if 'iOS' in bot: 190 if 'iOS' in bot:
188 match.append('~WritePixels') 191 match.append('~WritePixels')
189 192
190 if 'GalaxyS4' in bot: # skia:4079 193 if 'GalaxyS4' in bot: # skia:4079
191 match.append('~imagefiltersclipped') 194 match.append('~imagefiltersclipped')
192 match.append('~imagefilterscropexpand') 195 match.append('~imagefilterscropexpand')
193 match.append('~scaled_tilemodes_npot') 196 match.append('~scaled_tilemodes_npot')
194 match.append('~bleed_image') # skia:4367 197 match.append('~bleed_image') # skia:4367
195 match.append('~ReadPixels') # skia:4368 198 match.append('~ReadPixels') # skia:4368
196 199
197 if match: 200 if match:
198 args.append('--match') 201 args.append('--match')
199 args.extend(match) 202 args.extend(match)
200 203
201 return args 204 return args
202 cov_end = lineno() # Don't care about code coverage past here. 205 cov_end = lineno() # Don't care about code coverage past here.
203 206
204 207
205 def self_test(): 208 def self_test():
206 import coverage # This way the bots don't need coverage.py to be installed. 209 import coverage # This way the bots don't need coverage.py to be installed.
207 args = {} 210 args = {}
208 cases = [ 211 cases = [
209 'Pretend-iOS-Bot', 212 'Pretend-iOS-Bot',
213 'Test-Android-GCC-AndroidOne-GPU-Mali400MP2-Arm7-Release',
210 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', 214 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug',
211 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', 215 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug',
212 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', 216 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release',
213 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', 217 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
214 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', 218 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release',
215 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', 219 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
216 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', 220 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
217 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', 221 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind',
218 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', 222 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE',
219 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release', 223 'Test-Mac10.8-Clang-MacMini4.1-CPU-SSE4-x86_64-Release',
(...skipping 21 matching lines...) Expand all
241 if len(sys.argv) == 2 and sys.argv[1] == 'test': 245 if len(sys.argv) == 2 and sys.argv[1] == 'test':
242 self_test() 246 self_test()
243 sys.exit(0) 247 sys.exit(0)
244 248
245 if len(sys.argv) != 3: 249 if len(sys.argv) != 3:
246 print usage 250 print usage
247 sys.exit(1) 251 sys.exit(1)
248 252
249 with open(sys.argv[1], 'w') as out: 253 with open(sys.argv[1], 'w') as out:
250 json.dump(get_args(sys.argv[2]), out) 254 json.dump(get_args(sys.argv[2]), out)
OLDNEW
« no previous file with comments | « tools/dm_flags.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698