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

Side by Side Diff: tools/dm_flags.py

Issue 1011653004: Fix android_run_skia script to allow for larger blacklist (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Adding dm_flags.json Created 5 years, 9 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 #
2 # Copyright 2015 Google Inc.
3 #
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6 #
7
1 #!/usr/bin/env python 8 #!/usr/bin/env python
2 9
3 usage = ''' 10 usage = '''
4 Write extra flags to outfile for DM based on the bot name: 11 Write extra flags to outfile for DM based on the bot name:
5 $ python dm_flags.py outfile Test-Mac10.9-MacMini6.2-HD4000-x86_64-Release 12 $ python dm_flags.py outfile Test-Mac10.9-MacMini6.2-HD4000-x86_64-Release
6 Or run self-tests: 13 Or run self-tests:
7 $ python dm_flags.py test 14 $ python dm_flags.py test
8 ''' 15 '''
9 16
10 import inspect 17 import inspect
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if 'ANGLE' in bot: 51 if 'ANGLE' in bot:
45 configs.append('angle') 52 configs.append('angle')
46 args.append('--config') 53 args.append('--config')
47 args.extend(configs) 54 args.extend(configs)
48 55
49 blacklist = [] 56 blacklist = []
50 # This image is too large to be a texture for many GPUs. 57 # This image is too large to be a texture for many GPUs.
51 blacklist.extend('gpu _ PANO_20121023_214540.jpg'.split(' ')) 58 blacklist.extend('gpu _ PANO_20121023_214540.jpg'.split(' '))
52 blacklist.extend('msaa _ PANO_20121023_214540.jpg'.split(' ')) 59 blacklist.extend('msaa _ PANO_20121023_214540.jpg'.split(' '))
53 60
61 # Several of the newest version bmps fail on SkImageDecoder
62 blacklist.extend('_ image pal8os2v2.bmp'.split(' '))
63 blacklist.extend('_ image pal8v4.bmp'.split(' '))
64 blacklist.extend('_ image pal8v5.bmp'.split(' '))
65 blacklist.extend('_ image rgb16-565.bmp'.split(' '))
66 blacklist.extend('_ image rgb16-565pal.bmp'.split(' '))
67 blacklist.extend('_ image rgb32-111110.bmp'.split(' '))
68 blacklist.extend('_ image rgb32bf.bmp'.split(' '))
69 blacklist.extend('_ image rgba32.bmp'.split(' '))
70 blacklist.extend('_ image rgba32abf.bmp'.split(' '))
71 blacklist.extend('_ image rgb24largepal.bmp'.split(' '))
72 blacklist.extend('_ image pal8os2v2-16.bmp'.split(' '))
73 blacklist.extend('_ image pal8oversizepal.bmp'.split(' '))
74 blacklist.extend('_ subset rgb24largepal.bmp'.split(' '))
75 blacklist.extend('_ subset pal8os2v2-16.bmp'.split(' '))
76 blacklist.extend('_ subset pal8oversizepal.bmp'.split(' '))
77
78 # New ico files that fail on SkImageDecoder
scroggo 2015/03/25 18:51:47 FYI: Other (I assume there are others) new ico fil
79 blacklist.extend('_ image Hopstarter-Mac-Folders-Apple.ico'.split(' '))
80
54 # Leon doesn't care about this, so why run it? 81 # Leon doesn't care about this, so why run it?
55 if 'Win' in bot: 82 if 'Win' in bot:
56 blacklist.extend('_ image _'.split(' ')) 83 blacklist.extend('_ image _'.split(' '))
57 blacklist.extend('_ subset _'.split(' ')) 84 blacklist.extend('_ subset _'.split(' '))
58 85
59 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test 86 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test
60 # running forever 87 # running forever
61 if 'Win7' in bot: 88 if 'Win7' in bot:
62 blacklist.extend('msaa16 gm colorwheelnative'.split(' ')) 89 blacklist.extend('msaa16 gm colorwheelnative'.split(' '))
63 blacklist.extend('pdf gm fontmgr_iter_factory'.split(' ')) 90 blacklist.extend('pdf gm fontmgr_iter_factory'.split(' '))
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 if len(sys.argv) == 2 and sys.argv[1] == 'test': 184 if len(sys.argv) == 2 and sys.argv[1] == 'test':
158 self_test() 185 self_test()
159 sys.exit(0) 186 sys.exit(0)
160 187
161 if len(sys.argv) != 3: 188 if len(sys.argv) != 3:
162 print usage 189 print usage
163 sys.exit(1) 190 sys.exit(1)
164 191
165 with open(sys.argv[1], 'w') as out: 192 with open(sys.argv[1], 'w') as out:
166 json.dump(get_args(sys.argv[2]), out) 193 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