diff options
Diffstat (limited to 'net/tools/testserver/run_testserver.cc')
-rw-r--r-- | net/tools/testserver/run_testserver.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tools/testserver/run_testserver.cc b/net/tools/testserver/run_testserver.cc index 9ad0f7d..c02d4d6 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")); - - CommandLine python_command(CommandLine::NO_PROGRAM); - if (!GetPythonCommand(&python_command)) { + FilePath python_runtime; + if (!GetPythonRunTime(&python_runtime)) { 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."; |