Chromium Code Reviews| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 123 'name': 'Py-vulcanize Tests', | 123 'name': 'Py-vulcanize Tests', |
| 124 'path': 'third_party/py_vulcanize/bin/run_py_tests', | 124 'path': 'third_party/py_vulcanize/bin/run_py_tests', |
| 125 'additional_args': ['--no-install-hooks'], | 125 'additional_args': ['--no-install-hooks'], |
| 126 'disabled': ['android'], | 126 'disabled': ['android'], |
| 127 }, | 127 }, |
| 128 { | 128 { |
| 129 'name': 'Systrace Tests', | 129 'name': 'Systrace Tests', |
| 130 'path': 'systrace/bin/run_tests', | 130 'path': 'systrace/bin/run_tests', |
| 131 }, | 131 }, |
| 132 { | 132 { |
| 133 'name': 'Telemetry Tests with Stable Browser', | 133 'name': 'Telemetry Tests with Stable Browser (Desktop)', |
| 134 'path': 'telemetry/bin/run_tests', | 134 'path': 'telemetry/bin/run_tests', |
| 135 'additional_args': [ | 135 'additional_args': [ |
| 136 '--browser=reference', | 136 '--browser=reference', |
| 137 '--start-xvfb' | 137 '--start-xvfb' |
|
aiolos (Not reviewing)
2016/08/11 16:36:10
Do we not need to start the xvfb display on androi
nednguyen
2016/08/11 16:37:17
Yeah, we don't need xvfb display on android
| |
| 138 ], | 138 ], |
| 139 'uses_sandbox_env': True, | 139 'uses_sandbox_env': True, |
| 140 'disabled': ['android'], | |
| 141 }, | |
| 142 { | |
| 143 'name': 'Telemetry Tests with Stable Browser (Android)', | |
| 144 'path': 'telemetry/bin/run_tests', | |
| 145 'additional_args': [ | |
| 146 '--browser=reference', | |
| 147 '--device=android', | |
| 148 '--jobs=1' | |
| 149 ], | |
| 150 'uses_sandbox_env': True, | |
| 151 'disabled': ['win', 'mac', 'linux'] | |
| 140 }, | 152 }, |
| 141 { | 153 { |
| 142 'name': 'Telemetry Integration Tests with Stable Browser', | 154 'name': 'Telemetry Integration Tests with Stable Browser', |
| 143 'path': 'telemetry/bin/run_browser_tests', | 155 'path': 'telemetry/bin/run_browser_tests', |
| 144 'additional_args': [ | 156 'additional_args': [ |
| 145 'SimpleBrowserTest', | 157 'SimpleBrowserTest', |
| 146 '--browser=reference', | 158 '--browser=reference', |
| 147 ], | 159 ], |
| 148 'uses_sandbox_env': True, | 160 'uses_sandbox_env': True, |
| 149 'disabled': ['android', 'linux'], # TODO(nedn): enable this on linux | 161 'disabled': ['android', 'linux'], # TODO(nedn): enable this on linux |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 259 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' | 271 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' |
| 260 if test.get('outputs_presentation_json'): | 272 if test.get('outputs_presentation_json'): |
| 261 step['outputs_presentation_json'] = True | 273 step['outputs_presentation_json'] = True |
| 262 steps.append(step) | 274 steps.append(step) |
| 263 with open(args.output_json, 'w') as outfile: | 275 with open(args.output_json, 'w') as outfile: |
| 264 json.dump(steps, outfile) | 276 json.dump(steps, outfile) |
| 265 | 277 |
| 266 | 278 |
| 267 if __name__ == '__main__': | 279 if __name__ == '__main__': |
| 268 main(sys.argv[1:]) | 280 main(sys.argv[1:]) |
| OLD | NEW |