| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import argparse | 5 import argparse |
| 6 import json | 6 import json |
| 7 import os | 7 import os |
| 8 import sys | 8 import sys |
| 9 | 9 |
| 10 # This is the list of tests to run. It is a dictionary with the following | 10 # This is the list of tests to run. It is a dictionary with the following |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 'name': 'Py-vulcanize Tests', | 94 'name': 'Py-vulcanize Tests', |
| 95 'path': 'third_party/py_vulcanize/bin/run_py_tests', | 95 'path': 'third_party/py_vulcanize/bin/run_py_tests', |
| 96 'additional_args': ['--no-install-hooks'], | 96 'additional_args': ['--no-install-hooks'], |
| 97 'disabled': ['android'], | 97 'disabled': ['android'], |
| 98 }, | 98 }, |
| 99 { | 99 { |
| 100 'name': 'Systrace Tests', | 100 'name': 'Systrace Tests', |
| 101 'path': 'systrace/bin/run_tests', | 101 'path': 'systrace/bin/run_tests', |
| 102 }, | 102 }, |
| 103 { | 103 { |
| 104 'name': 'Telemetry Tests with Stable Browser', | 104 'name': 'Telemetry Tests with Stable Browser (Desktop)', |
| 105 'path': 'telemetry/bin/run_tests', | 105 'path': 'telemetry/bin/run_tests', |
| 106 'additional_args': [ | 106 'additional_args': [ |
| 107 '--browser=reference', | 107 '--browser=reference', |
| 108 '--start-xvfb' | 108 '--start-xvfb' |
| 109 ], | 109 ], |
| 110 'uses_sandbox_env': True, | 110 'uses_sandbox_env': True, |
| 111 'disabled': ['android'], | 111 'disabled': ['android'], |
| 112 }, | 112 }, |
| 113 { | 113 { |
| 114 'name': 'Telemetry Tests with Stable Browser (Android)', |
| 115 'path': 'telemetry/bin/run_tests', |
| 116 'additional_args': [ |
| 117 '--browser=reference', |
| 118 '--device=android', |
| 119 '--jobs=1' |
| 120 ], |
| 121 'uses_sandbox_env': True, |
| 122 'disabled': ['win', 'mac', 'linux'] |
| 123 }, |
| 124 { |
| 114 'name': 'Telemetry Integration Tests with Stable Browser', | 125 'name': 'Telemetry Integration Tests with Stable Browser', |
| 115 'path': 'telemetry/bin/run_browser_tests', | 126 'path': 'telemetry/bin/run_browser_tests', |
| 116 'additional_args': [ | 127 'additional_args': [ |
| 117 'SimpleBrowserTest', | 128 'SimpleBrowserTest', |
| 118 '--browser=reference', | 129 '--browser=reference', |
| 119 ], | 130 ], |
| 120 'uses_sandbox_env': True, | 131 'uses_sandbox_env': True, |
| 121 'disabled': ['android', 'linux'], # TODO(nedn): enable this on linux | 132 'disabled': ['android', 'linux'], # TODO(nedn): enable this on linux |
| 122 }, | 133 }, |
| 123 { | 134 { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' | 248 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' |
| 238 if test.get('outputs_presentation_json'): | 249 if test.get('outputs_presentation_json'): |
| 239 step['outputs_presentation_json'] = True | 250 step['outputs_presentation_json'] = True |
| 240 steps.append(step) | 251 steps.append(step) |
| 241 with open(args.output_json, 'w') as outfile: | 252 with open(args.output_json, 'w') as outfile: |
| 242 json.dump(steps, outfile) | 253 json.dump(steps, outfile) |
| 243 | 254 |
| 244 | 255 |
| 245 if __name__ == '__main__': | 256 if __name__ == '__main__': |
| 246 main(sys.argv[1:]) | 257 main(sys.argv[1:]) |
| OLD | NEW |