OLD | NEW |
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 Loading... |
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 Loading... |
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) |
OLD | NEW |