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

Side by Side Diff: tools/mb/mb_unittest.py

Issue 2531993003: MB: Remove a --target-devices-file flag for JUnit tests on android. (Closed)
Patch Set: 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 | « tools/mb/mb.py ('k') | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """Tests for mb.py.""" 10 """Tests for mb.py."""
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 './../../build/android/test_wrapper/logdog_wrapper.py', 450 './../../build/android/test_wrapper/logdog_wrapper.py',
451 '--logdog-bin-cmd', './../../bin/logdog_butler', 451 '--logdog-bin-cmd', './../../bin/logdog_butler',
452 '--project', 'chromium', 452 '--project', 'chromium',
453 '--service-account-json', 453 '--service-account-json',
454 '/creds/service_accounts/service-account-luci-logdog-publisher.json', 454 '/creds/service_accounts/service-account-luci-logdog-publisher.json',
455 '--prefix', 'android/swarming/logcats/${SWARMING_TASK_ID}', 455 '--prefix', 'android/swarming/logcats/${SWARMING_TASK_ID}',
456 '--source', '${ISOLATED_OUTDIR}/logcats', 456 '--source', '${ISOLATED_OUTDIR}/logcats',
457 '--name', 'unified_logcats', 457 '--name', 'unified_logcats',
458 'bin/run_base_unittests', 458 'bin/run_base_unittests',
459 '--logcat-output-file', '${ISOLATED_OUTDIR}/logcats', 459 '--logcat-output-file', '${ISOLATED_OUTDIR}/logcats',
460 '--target-devices-file', '${SWARMING_BOT_FILE}',
461 '-v', 460 '-v',
462 ]) 461 ])
463 462
464 def test_gn_gen_non_parallel_console_test_launcher(self): 463 def test_gn_gen_non_parallel_console_test_launcher(self):
465 test_files = { 464 test_files = {
466 '/tmp/swarming_targets': 'base_unittests\n', 465 '/tmp/swarming_targets': 'base_unittests\n',
467 '/fake_src/testing/buildbot/gn_isolate_map.pyl': ( 466 '/fake_src/testing/buildbot/gn_isolate_map.pyl': (
468 "{'base_unittests': {" 467 "{'base_unittests': {"
469 " 'label': '//base:base_unittests'," 468 " 'label': '//base:base_unittests',"
470 " 'type': 'non_parallel_console_test_launcher'," 469 " 'type': 'non_parallel_console_test_launcher',"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 self.check(['lookup', '-c', 'fake_config'], mbw=mbw, 834 self.check(['lookup', '-c', 'fake_config'], mbw=mbw,
836 ret=0, 835 ret=0,
837 out=("GYP_DEFINES='foo=bar baz=1'\n" 836 out=("GYP_DEFINES='foo=bar baz=1'\n"
838 "GYP_LINK_CONCURRENCY=1\n" 837 "GYP_LINK_CONCURRENCY=1\n"
839 "LLVM_FORCE_HEAD_REVISION=1\n" 838 "LLVM_FORCE_HEAD_REVISION=1\n"
840 "python build/gyp_chromium -G output_dir=_path_\n")) 839 "python build/gyp_chromium -G output_dir=_path_\n"))
841 840
842 841
843 if __name__ == '__main__': 842 if __name__ == '__main__':
844 unittest.main() 843 unittest.main()
OLDNEW
« no previous file with comments | « tools/mb/mb.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698