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

Side by Side Diff: catapult_build/build_steps.py

Issue 2236493003: [catapult android trybot] Make Telemetry tests run on Android (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Add stack traces and more logging Created 4 years 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 | « no previous file | telemetry/telemetry/core/memory_cache_http_server_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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:])
OLDNEW
« no previous file with comments | « no previous file | telemetry/telemetry/core/memory_cache_http_server_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698