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

Side by Side Diff: build/android/buildbot/bb_device_steps.py

Issue 302653004: Cleanup: Remove the remaining instances of ChromiumTestShell from Telemetry scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rework! Created 6 years, 6 months 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 | tools/cr/cr/targets/chrome_shell.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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import collections 6 import collections
7 import glob 7 import glob
8 import hashlib 8 import hashlib
9 import json 9 import json
10 import os 10 import os
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 '--update-log']) 141 '--update-log'])
142 142
143 143
144 def RunTelemetryPerfUnitTests(options): 144 def RunTelemetryPerfUnitTests(options):
145 """Runs the telemetry perf unit tests. 145 """Runs the telemetry perf unit tests.
146 146
147 Args: 147 Args:
148 options: options object. 148 options: options object.
149 """ 149 """
150 InstallApk(options, INSTRUMENTATION_TESTS['ChromeShell'], False) 150 InstallApk(options, INSTRUMENTATION_TESTS['ChromeShell'], False)
151 args = ['--browser', 'android-chromium-testshell'] 151 args = ['--browser', 'android-chrome-shell']
152 devices = android_commands.GetAttachedDevices() 152 devices = android_commands.GetAttachedDevices()
153 if devices: 153 if devices:
154 args = args + ['--device', devices[0]] 154 args = args + ['--device', devices[0]]
155 bb_annotations.PrintNamedStep('telemetry_perf_unittests') 155 bb_annotations.PrintNamedStep('telemetry_perf_unittests')
156 RunCmd(['tools/perf/run_tests'] + args) 156 RunCmd(['tools/perf/run_tests'] + args)
157 157
158 158
159 def RunMojoTests(options): 159 def RunMojoTests(options):
160 """Runs the mojo unit tests. 160 """Runs the mojo unit tests.
161 161
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 661 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
662 if options.coverage_bucket: 662 if options.coverage_bucket:
663 setattr(options, 'coverage_dir', 663 setattr(options, 'coverage_dir',
664 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 664 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
665 665
666 MainTestWrapper(options) 666 MainTestWrapper(options)
667 667
668 668
669 if __name__ == '__main__': 669 if __name__ == '__main__':
670 sys.exit(main(sys.argv)) 670 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | tools/cr/cr/targets/chrome_shell.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698