| 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..9ad0f7d98757c559dae78e1dbf3c9c4d5918036a 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 (!GetPythonCommand(&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.";
|
|
|