Commit eef14587 authored by Ben Pastene's avatar Ben Pastene Committed by Commit Bot

chromeos: Move system logs from host-side into a subdir.

Same thing that crrev.com/c/2219679 did, but for tests invoked via
host-side cmd (eg: telemetry) rather than device-side cmd (eg: gtests).

Bug: 1087407
Change-Id: I514a01583bbfea6a4a600d738587d8663ae0adec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222901Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773360}
parent 2da89ba7
...@@ -724,7 +724,10 @@ def host_cmd(args, unknown_args): ...@@ -724,7 +724,10 @@ def host_cmd(args, unknown_args):
if args.logs_dir: if args.logs_dir:
for log in SYSTEM_LOG_LOCATIONS: for log in SYSTEM_LOG_LOCATIONS:
cros_run_test_cmd += ['--results-src', log] cros_run_test_cmd += ['--results-src', log]
cros_run_test_cmd += ['--results-dest-dir', args.logs_dir] cros_run_test_cmd += [
'--results-dest-dir',
os.path.join(args.logs_dir, 'system_logs')
]
test_env = setup_env() test_env = setup_env()
if args.deploy_chrome: if args.deploy_chrome:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment