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

Side by Side Diff: tools/dm_flags.py

Issue 1012183002: DM: disable image src type on Windows. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: subset too 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 usage = ''' 3 usage = '''
4 Write extra flags to outfile for DM based on the bot name: 4 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 5 $ python dm_flags.py outfile Test-Mac10.9-MacMini6.2-HD4000-x86_64-Release
6 Or run self-tests: 6 Or run self-tests:
7 $ python dm_flags.py test 7 $ python dm_flags.py test
8 ''' 8 '''
9 9
10 import inspect 10 import inspect
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if 'ANGLE' in bot: 44 if 'ANGLE' in bot:
45 configs.append('angle') 45 configs.append('angle')
46 args.append('--config') 46 args.append('--config')
47 args.extend(configs) 47 args.extend(configs)
48 48
49 blacklist = [] 49 blacklist = []
50 # This image is too large to be a texture for many GPUs. 50 # This image is too large to be a texture for many GPUs.
51 blacklist.extend('gpu _ PANO_20121023_214540.jpg'.split(' ')) 51 blacklist.extend('gpu _ PANO_20121023_214540.jpg'.split(' '))
52 blacklist.extend('msaa _ PANO_20121023_214540.jpg'.split(' ')) 52 blacklist.extend('msaa _ PANO_20121023_214540.jpg'.split(' '))
53 53
54 # Leon doesn't care about this, so why run it?
55 if 'Win' in bot:
56 blacklist.extend('_ image _'.split(' '))
57 blacklist.extend('_ subset _'.split(' '))
58
54 # Drawing SKPs or images into GPU canvases is a New Thing. 59 # Drawing SKPs or images into GPU canvases is a New Thing.
55 # It seems like we're running out of RAM on some Android bots, so start off 60 # It seems like we're running out of RAM on some Android bots, so start off
56 # with a very wide blacklist disabling all these tests on all Android bots. 61 # with a very wide blacklist disabling all these tests on all Android bots.
57 if 'Android' in bot: # skia:3255 62 if 'Android' in bot: # skia:3255
58 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' ')) 63 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' '))
59 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' ')) 64 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' '))
60 65
61 if 'Valgrind' in bot: 66 if 'Valgrind' in bot:
62 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 67 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505
63 blacklist.extend('pdf _ .webp'.split(' ')) 68 blacklist.extend('pdf _ .webp'.split(' '))
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 if len(sys.argv) == 2 and sys.argv[1] == 'test': 147 if len(sys.argv) == 2 and sys.argv[1] == 'test':
143 self_test() 148 self_test()
144 sys.exit(0) 149 sys.exit(0)
145 150
146 if len(sys.argv) != 3: 151 if len(sys.argv) != 3:
147 print usage 152 print usage
148 sys.exit(1) 153 sys.exit(1)
149 154
150 with open(sys.argv[1], 'w') as out: 155 with open(sys.argv[1], 'w') as out:
151 json.dump(get_args(sys.argv[2]), out) 156 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