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

Unified Diff: tools/mb/mb.py

Issue 2163833003: Logdog for logcats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments part 3 Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: tools/mb/mb.py
diff --git a/tools/mb/mb.py b/tools/mb/mb.py
index c21e2f10879f11ee85bc4d03fac9fbd5cfc35a13..155fa6fde8ded5b318e106bab33f5bf2ddc7c5e2 100755
--- a/tools/mb/mb.py
+++ b/tools/mb/mb.py
@@ -1010,12 +1010,24 @@ class MetaBuildWrapper(object):
extra_files = []
if android and test_type != "script":
- cmdline = [
+ logdog_command = [
+ '--logdog-bin-cmd', './../../bin/logdog_butler',
ghost stip (do not use) 2016/07/29 21:56:40 CHROMIUM_SRC_DIR/bin/ ? see line 31
nicholaslin 2016/07/29 23:54:06 Tried that before. That's for the buildbot slave n
+ '--project', 'chromium',
+ '--logdog-server', 'luci-logdog.appspot.com',
dnj 2016/07/29 22:35:34 Specifying this twice? Either use the default or r
nicholaslin 2016/07/29 23:54:06 Removed it here.
+ '--service-account-json',
+ '/creds/service_accounts/service-account-luci-logdog-publisher.json',
dnj 2016/07/29 22:35:34 Are we comfortable hardcoding this in "chromium/sr
dnj 2016/07/30 15:47:48 Ping on this. We're baking Infra credential paths
nicholaslin 2016/08/02 22:05:13 Noted. Will think about alternatives.
+ '--prefix', 'android/swarming/logcats/${SWARMING_TASK_ID}',
+ '--source', '${ISOLATED_OUTDIR}/logcats',
+ '--name', 'unified_logcats',
+ ]
+ test_cmdline = [
self.PathJoin('bin', 'run_%s' % target_name),
- '--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
+ '--logcat-output-file', '${ISOLATED_OUTDIR}/logcats',
ghost stip (do not use) 2016/07/29 21:56:40 unified_logcats?
nicholaslin 2016/07/29 23:54:06 Done. Do we want it to be named unified logcats?
'--target-devices-file', '${SWARMING_BOT_FILE}',
- '-v',
+ '-v'
]
+ cmdline = (['./../../build/android/logdog_wrapper/logdog_test_wrapper.py']
ghost stip (do not use) 2016/07/29 21:56:40 os.path.join(CHROMIUM_SRC_DIR, 'build', 'android')
nicholaslin 2016/07/29 23:54:06 see above.
+ + logdog_command + test_cmdline)
elif use_x11 and test_type == 'windowed_test_launcher':
extra_files = [
'xdisplaycheck',
« build/android/test_wrapper/logdog_wrapper.py ('K') | « testing/buildbot/chromium.linux.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698