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

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

Issue 517983002: Add test data for mojo instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 def RunMojoTests(options): 207 def RunMojoTests(options):
208 """Runs the mojo unit tests. 208 """Runs the mojo unit tests.
209 209
210 Args: 210 Args:
211 options: options object. 211 options: options object.
212 """ 212 """
213 test = I('MojoTest', 213 test = I('MojoTest',
214 None, 214 None,
215 'org.chromium.mojo.tests', 215 'org.chromium.mojo.tests',
216 'MojoTest', 216 'MojoTest',
217 None) 217 'bindings:mojo/public/interfaces/bindings/tests/data')
218 RunInstrumentationSuite(options, test) 218 RunInstrumentationSuite(options, test)
219 219
220 220
221 def InstallApk(options, test, print_step=False): 221 def InstallApk(options, test, print_step=False):
222 """Install an apk to all phones. 222 """Install an apk to all phones.
223 223
224 Args: 224 Args:
225 options: options object 225 options: options object
226 test: An I_TEST namedtuple 226 test: An I_TEST namedtuple
227 print_step: Print a buildbot step 227 print_step: Print a buildbot step
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 744
745 if options.coverage_bucket: 745 if options.coverage_bucket:
746 setattr(options, 'coverage_dir', 746 setattr(options, 'coverage_dir',
747 os.path.join(CHROME_OUT_DIR, options.target, 'coverage')) 747 os.path.join(CHROME_OUT_DIR, options.target, 'coverage'))
748 748
749 MainTestWrapper(options) 749 MainTestWrapper(options)
750 750
751 751
752 if __name__ == '__main__': 752 if __name__ == '__main__':
753 sys.exit(main(sys.argv)) 753 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698