summaryrefslogtreecommitdiffstats
path: root/app/test_suite.h
diff options
context:
space:
mode:
authorpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 21:34:43 +0000
committerpvalchev@google.com <pvalchev@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 21:34:43 +0000
commit3faa467f5a4da77c16713ee39f4c7098a8210a7c (patch)
treecd78efdf29cbff79717c62db0c05c603a7e0a869 /app/test_suite.h
parent6c5b9f9df3d703adf1cd76b69b86d87d80215fc9 (diff)
downloadchromium_src-3faa467f5a4da77c16713ee39f4c7098a8210a7c.zip
chromium_src-3faa467f5a4da77c16713ee39f4c7098a8210a7c.tar.gz
chromium_src-3faa467f5a4da77c16713ee39f4c7098a8210a7c.tar.bz2
rid of more OS_LINUX defines, to help the BSD port (work by sprewell & I)
Review URL: http://codereview.chromium.org/2089010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/test_suite.h')
-rw-r--r--app/test_suite.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/test_suite.h b/app/test_suite.h
index eeea436..15276df 100644
--- a/app/test_suite.h
+++ b/app/test_suite.h
@@ -47,16 +47,14 @@ class AppTestSuite : public TestSuite {
#error Unknown branding
#endif
mac_util::SetOverrideAppBundlePath(path);
-#endif // OS_MACOSX
-
-#if defined(OS_LINUX)
+#elif defined(OS_POSIX)
FilePath pak_dir;
PathService::Get(base::DIR_MODULE, &pak_dir);
pak_dir = pak_dir.AppendASCII("app_unittests_strings");
PathService::Override(app::DIR_LOCALES, pak_dir);
PathService::Override(app::FILE_RESOURCES_PAK,
pak_dir.AppendASCII("app_resources.pak"));
-#endif // OS_LINUX
+#endif
// Force unittests to run using en-US so if we test against string
// output, it'll pass regardless of the system language.