Index: ash/test/test_suite.cc |
diff --git a/ash/test/test_suite.cc b/ash/test/test_suite.cc |
index 48e3f454608ee6dc0288da056f25561d366f9708..46e82c6583547a2fbb28b7cf15e8eb755f03e6eb 100644 |
--- a/ash/test/test_suite.cc |
+++ b/ash/test/test_suite.cc |
@@ -31,7 +31,12 @@ void AuraShellTestSuite::Initialize() { |
#if defined(OS_MACOSX) |
ash::test::OverrideFrameworkBundle(); |
-#endif |
+#elif defined(OS_POSIX) |
+ FilePath pak_dir; |
+ PathService::Get(base::DIR_MODULE, &pak_dir); |
+ pak_dir = pak_dir.AppendASCII("aura_shell_unittests_strings"); |
+ PathService::Override(ui::DIR_LOCALES, pak_dir); |
tony
2012/02/06 18:37:25
As I mentioned in https://chromiumcodereview.appsp
|
+#endif // defined(OS_MACOSX) |
// Force unittests to run using en-US so if we test against string |
// output, it'll pass regardless of the system language. |