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

Side by Side Diff: tools/dm_flags.py

Issue 1234313006: Stop running image tests on msaa. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add dm_flags.json Created 5 years, 5 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 | « 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 # TODO: remove skp from default --src list? 73 # TODO: remove skp from default --src list?
74 if 'GPU' in bot: 74 if 'GPU' in bot:
75 args.extend('--src tests gm'.split(' ')) 75 args.extend('--src tests gm'.split(' '))
76 else: 76 else:
77 args.extend('--src tests gm image'.split(' ')) 77 args.extend('--src tests gm image'.split(' '))
78 78
79 if 'GalaxyS' in bot: 79 if 'GalaxyS' in bot:
80 args.extend(('--threads', '0')) 80 args.extend(('--threads', '0'))
81 81
82 blacklist = [] 82 blacklist = []
83
84 # We do not draw image sources on msaa anyway, so avoid the creation of
85 # large canvases. skbug.com/4045
86 blacklist.extend('msaa image _ _'.split(' '))
87
83 # This image is too large to be a texture for many GPUs. 88 # This image is too large to be a texture for many GPUs.
84 blacklist.extend('gpu _ _ PANO_20121023_214540.jpg'.split(' ')) 89 blacklist.extend('gpu _ _ PANO_20121023_214540.jpg'.split(' '))
85 blacklist.extend('msaa _ _ PANO_20121023_214540.jpg'.split(' '))
86 90
87 # Several of the newest version bmps fail on SkImageDecoder 91 # Several of the newest version bmps fail on SkImageDecoder
88 blacklist.extend('_ image decode pal8os2v2.bmp'.split(' ')) 92 blacklist.extend('_ image decode pal8os2v2.bmp'.split(' '))
89 blacklist.extend('_ image decode pal8v4.bmp'.split(' ')) 93 blacklist.extend('_ image decode pal8v4.bmp'.split(' '))
90 blacklist.extend('_ image decode pal8v5.bmp'.split(' ')) 94 blacklist.extend('_ image decode pal8v5.bmp'.split(' '))
91 blacklist.extend('_ image decode rgb16-565.bmp'.split(' ')) 95 blacklist.extend('_ image decode rgb16-565.bmp'.split(' '))
92 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' ')) 96 blacklist.extend('_ image decode rgb16-565pal.bmp'.split(' '))
93 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' ')) 97 blacklist.extend('_ image decode rgb32-111110.bmp'.split(' '))
94 blacklist.extend('_ image decode rgb32bf.bmp'.split(' ')) 98 blacklist.extend('_ image decode rgb32bf.bmp'.split(' '))
95 blacklist.extend('_ image decode rgba32.bmp'.split(' ')) 99 blacklist.extend('_ image decode rgba32.bmp'.split(' '))
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 if len(sys.argv) == 2 and sys.argv[1] == 'test': 215 if len(sys.argv) == 2 and sys.argv[1] == 'test':
212 self_test() 216 self_test()
213 sys.exit(0) 217 sys.exit(0)
214 218
215 if len(sys.argv) != 3: 219 if len(sys.argv) != 3:
216 print usage 220 print usage
217 sys.exit(1) 221 sys.exit(1)
218 222
219 with open(sys.argv[1], 'w') as out: 223 with open(sys.argv[1], 'w') as out:
220 json.dump(get_args(sys.argv[2]), out) 224 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