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

Side by Side Diff: tools/dm_flags.py

Issue 1013483004: Blacklist certain win7 gms that are never finishing on dm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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? 54 # Leon doesn't care about this, so why run it?
55 if 'Win' in bot: 55 if 'Win' in bot:
56 blacklist.extend('_ image _'.split(' ')) 56 blacklist.extend('_ image _'.split(' '))
57 blacklist.extend('_ subset _'.split(' ')) 57 blacklist.extend('_ subset _'.split(' '))
58 58
59 # Certain gm's on win7 gpu and pdf are never finishing and keeping the test
60 # running forever
61 if 'Win7' in bot:
62 blacklist.extend('msaa16 gm colorwheelnative'.split(' '))
63 blacklist.extend('pdf gm fontmgr_iter_factory'.split(' '))
64
59 # Drawing SKPs or images into GPU canvases is a New Thing. 65 # Drawing SKPs or images into GPU canvases is a New Thing.
60 # It seems like we're running out of RAM on some Android bots, so start off 66 # It seems like we're running out of RAM on some Android bots, so start off
61 # with a very wide blacklist disabling all these tests on all Android bots. 67 # with a very wide blacklist disabling all these tests on all Android bots.
62 if 'Android' in bot: # skia:3255 68 if 'Android' in bot: # skia:3255
63 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' ')) 69 blacklist.extend('gpu skp _ gpu image _ gpu subset _'.split(' '))
64 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' ')) 70 blacklist.extend('msaa skp _ msaa image _ gpu subset _'.split(' '))
65 71
66 if 'Valgrind' in bot: 72 if 'Valgrind' in bot:
67 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505 73 # PDF + .webp -> jumps depending on uninitialized memory. skia:3505
68 blacklist.extend('pdf _ .webp'.split(' ')) 74 blacklist.extend('pdf _ .webp'.split(' '))
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 if len(sys.argv) == 2 and sys.argv[1] == 'test': 157 if len(sys.argv) == 2 and sys.argv[1] == 'test':
152 self_test() 158 self_test()
153 sys.exit(0) 159 sys.exit(0)
154 160
155 if len(sys.argv) != 3: 161 if len(sys.argv) != 3:
156 print usage 162 print usage
157 sys.exit(1) 163 sys.exit(1)
158 164
159 with open(sys.argv[1], 'w') as out: 165 with open(sys.argv[1], 'w') as out:
160 json.dump(get_args(sys.argv[2]), out) 166 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