Commit 7cc89a79 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Media Engagement: Use full paths

It looks like some of the bots are still having problems with the
preloading browser test. This ensures we use full paths for referencing
files.

BUG=794629

Change-Id: I814d74bf973968350207e4b6f4879f767c82a225
Reviewed-on: https://chromium-review.googlesource.com/827135Reviewed-by: default avatarMounir Lamouri <mlamouri@chromium.org>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524131}
parent 3e360d9b
...@@ -142,7 +142,8 @@ class MediaEngagementAutoplayBrowserTest : public InProcessBrowserTest { ...@@ -142,7 +142,8 @@ class MediaEngagementAutoplayBrowserTest : public InProcessBrowserTest {
// Launch the generator and wait for it to finish. // Launch the generator and wait for it to finish.
base::CommandLine cmd(GetPythonPath()); base::CommandLine cmd(GetPythonPath());
cmd.AppendArg("tools/media_engagement_preload/make_dafsa.py"); cmd.AppendArgPath(module_dir.Append(
FILE_PATH_LITERAL("tools/media_engagement_preload/make_dafsa.py")));
cmd.AppendArgPath(input_path); cmd.AppendArgPath(input_path);
cmd.AppendArgPath(output_path); cmd.AppendArgPath(output_path);
base::Process process = base::LaunchProcess(cmd, base::LaunchOptions()); base::Process process = base::LaunchProcess(cmd, base::LaunchOptions());
......
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