| OLD | NEW |
| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 'GT610' in bot): | 68 'GT610' in bot): |
| 69 if 'Android' in bot: | 69 if 'Android' in bot: |
| 70 configs.append('nvprdit4') | 70 configs.append('nvprdit4') |
| 71 else: | 71 else: |
| 72 configs.append('nvprdit16') | 72 configs.append('nvprdit16') |
| 73 | 73 |
| 74 # We want to test the OpenGL config not the GLES config on the X1 | 74 # We want to test the OpenGL config not the GLES config on the X1 |
| 75 if 'TegraX1' in bot: | 75 if 'TegraX1' in bot: |
| 76 configs = [x.replace('gpu', 'gl') for x in configs] | 76 configs = [x.replace('gpu', 'gl') for x in configs] |
| 77 configs = [x.replace('msaa', 'glmsaa') for x in configs] | 77 configs = [x.replace('msaa', 'glmsaa') for x in configs] |
| 78 | 78 |
| 79 # NP is running out of RAM when we run all these modes. skia:3255 | 79 # NP is running out of RAM when we run all these modes. skia:3255 |
| 80 if 'NexusPlayer' not in bot: | 80 if 'NexusPlayer' not in bot: |
| 81 configs.extend(mode + '-8888' for mode in | 81 configs.extend(mode + '-8888' for mode in |
| 82 ['serialize', 'tiles_rt', 'pic']) | 82 ['serialize', 'tiles_rt', 'pic']) |
| 83 | 83 |
| 84 if 'ANGLE' in bot: | 84 if 'ANGLE' in bot: |
| 85 configs.append('angle') | 85 configs.append('angle') |
| 86 | 86 |
| 87 # We want to run gpudft on atleast the mali 400 | 87 # We want to run gpudft on atleast the mali 400 |
| 88 if 'GalaxyS3' in bot: | 88 if 'GalaxyS3' in bot: |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 'colortype', | 162 'colortype', |
| 163 'colortype_xfermodes', | 163 'colortype_xfermodes', |
| 164 'colorwheelnative', | 164 'colorwheelnative', |
| 165 'drawfilter', | 165 'drawfilter', |
| 166 'fontmgr_bounds_0.75_0', | 166 'fontmgr_bounds_0.75_0', |
| 167 'fontmgr_bounds_1_-0.25', | 167 'fontmgr_bounds_1_-0.25', |
| 168 'fontmgr_bounds', | 168 'fontmgr_bounds', |
| 169 'fontmgr_match', | 169 'fontmgr_match', |
| 170 'fontmgr_iter', | 170 'fontmgr_iter', |
| 171 'lightingshader', | 171 'lightingshader', |
| 172 'localmatriximagefilter', | |
| 173 'path_stroke_with_zero_length', | 172 'path_stroke_with_zero_length', |
| 174 'textblobgeometrychange', | 173 'textblobgeometrychange', |
| 175 'verylargebitmap', # Windows only. | 174 'verylargebitmap', # Windows only. |
| 176 'verylarge_picture_image']: # Windows only. | 175 'verylarge_picture_image']: # Windows only. |
| 177 blacklist.extend(['serialize-8888', 'gm', '_', test]) | 176 blacklist.extend(['serialize-8888', 'gm', '_', test]) |
| 178 # skia:4769 | 177 # skia:4769 |
| 179 for test in ['blend', | 178 for test in ['blend', |
| 180 'drawfilter', | 179 'drawfilter', |
| 181 'path_stroke_with_zero_length', | 180 'path_stroke_with_zero_length', |
| 182 'textblobgeometrychange']: | 181 'textblobgeometrychange']: |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 297 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
| 299 self_test() | 298 self_test() |
| 300 sys.exit(0) | 299 sys.exit(0) |
| 301 | 300 |
| 302 if len(sys.argv) != 3: | 301 if len(sys.argv) != 3: |
| 303 print usage | 302 print usage |
| 304 sys.exit(1) | 303 sys.exit(1) |
| 305 | 304 |
| 306 with open(sys.argv[1], 'w') as out: | 305 with open(sys.argv[1], 'w') as out: |
| 307 json.dump(get_args(sys.argv[2]), out) | 306 json.dump(get_args(sys.argv[2]), out) |
| OLD | NEW |