| Index: webkit/tools/test_shell/run_all_tests.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/run_all_tests.cc (revision 10790)
|
| +++ webkit/tools/test_shell/run_all_tests.cc (working copy)
|
| @@ -15,6 +15,10 @@
|
| #include "base/at_exit.h"
|
| #include "base/command_line.h"
|
| #include "base/icu_util.h"
|
| +#if defined(OS_MACOSX)
|
| +#include "base/mac_util.h"
|
| +#include "base/path_service.h"
|
| +#endif
|
| #include "base/message_loop.h"
|
| #include "base/process_util.h"
|
| #include "base/scoped_nsautorelease_pool.h"
|
| @@ -42,6 +46,13 @@
|
| // the AtExitManager or else we will leak objects.
|
| base::AtExitManager at_exit_manager;
|
|
|
| +#if defined(OS_MACOSX)
|
| + FilePath path;
|
| + PathService::Get(base::DIR_EXE, &path);
|
| + path = path.AppendASCII("TestShell.app");
|
| + mac_util::SetOverrideAppBundlePath(path);
|
| +#endif
|
| +
|
| TestShellPlatformDelegate::PreflightArgs(&argc, &argv);
|
| CommandLine::Init(argc, argv);
|
| const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
|
|
|