Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3572)

Unified Diff: base/test/test_suite.cc

Issue 8889002: Fix test failures when calling native char conversion functions (e.g wrctomb). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed for linux Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_suite.cc
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index e67be8d1d6f40a202d0d44511aafac047b8b97a0..24af4e14c2e71efa001cee5374772d1a7c603741 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -78,7 +78,9 @@ TestSuite::TestSuite(int argc, char** argv) {
base::EnableTerminationOnHeapCorruption();
CommandLine::Init(argc, argv);
testing::InitGoogleTest(&argc, argv);
-#if defined(TOOLKIT_USES_GTK)
+#if defined(OS_LINUX) && defined(USE_AURA)
+ setlocale(LC_ALL, "");
Paweł Hajdan Jr. 2011/12/09 11:27:55 Please add comment - why is it here?
+#elif defined(TOOLKIT_USES_GTK)
gtk_init_check(&argc, &argv);
#endif // defined(TOOLKIT_USES_GTK)
// Don't add additional code to this constructor. Instead add it to
« no previous file with comments | « no previous file | build/all.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698