| Index: net/tools/testserver/run_testserver.cc
|
| diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc
|
| index c02d4d6e18290ee6ea016f4e8998fba16db6215e..725c25be9b51260a1ff5e7f92781ed3af4ecfaa2 100644
|
| --- a/net/tools/testserver/run_testserver.cc
|
| +++ b/net/tools/testserver/run_testserver.cc
|
| @@ -40,13 +40,13 @@ static bool RunSyncTest() {
|
|
|
| sync_test_path =
|
| sync_test_path.Append(FILE_PATH_LITERAL("chromiumsync_test.py"));
|
| - FilePath python_runtime;
|
| - if (!GetPythonRunTime(&python_runtime)) {
|
| +
|
| + CommandLine python_command(CommandLine::NO_PROGRAM);
|
| + if (!GetPythonRunTime(&python_command)) {
|
| LOG(ERROR) << "Could not get python runtime command.";
|
| return false;
|
| }
|
|
|
| - CommandLine python_command(python_runtime);
|
| python_command.AppendArgPath(sync_test_path);
|
| if (!base::LaunchProcess(python_command, base::LaunchOptions(), NULL)) {
|
| LOG(ERROR) << "Failed to launch test script.";
|
|
|