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

Unified Diff: tools/mb/mb.py

Issue 2163833003: Logdog for logcats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update logdog revision + test_runner_wrapper for stream name support 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..472f0635dee9edab15b6eda49b580f3377180a5f 100755
--- a/tools/mb/mb.py
+++ b/tools/mb/mb.py
@@ -1010,11 +1010,26 @@ class MetaBuildWrapper(object):
extra_files = []
if android and test_type != "script":
- cmdline = [
+ logdog_command = [
+ './../../bin/logdog_butler',
+ '-project', 'chromium',
+ '-output', 'logdog,host=luci-logdog-dev.appspot.com',
+ #'-service-account-json',
ghost stip (do not use) 2016/07/27 01:14:18 don't commit commented-out code
nicholaslin 2016/07/27 19:08:06 This will be uncommented before deployment. Hopefu
+ #'/creds/service_accounts/service-account-luci-logdog-publisher.json'
+ '-prefix', 'android/swarming/logcats/${SWARMING_TASK_ID}',
+ 'stream', '-source', '${ISOLATED_OUTDIR}/logcats',
+ '-stream', '-name=unified_logcats'
+ ]
+ test_cmdline = [
self.PathJoin('bin', 'run_%s' % target_name),
- '--logcat-output-dir', '${ISOLATED_OUTDIR}/logcats',
+ '--logcat-output-file', '${ISOLATED_OUTDIR}/logcats',
'--target-devices-file', '${SWARMING_BOT_FILE}',
- '-v',
+ '-v'
+ ]
+ cmdline = [
+ './../../build/android/test_wrapper/test_runner_wrapper.py',
+ '--test-runner-command', ' '.join(test_cmdline),
ghost stip (do not use) 2016/07/27 01:14:18 this should just be the arguments of the program.
nicholaslin 2016/07/27 19:08:06 Done.
+ '--logdog-command', ' '.join(logdog_command),
]
elif use_x11 and test_type == 'windowed_test_launcher':
extra_files = [
« build/android/test_wrapper/test_runner_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