Changeset 101274 in webkit
- Timestamp:
- Nov 28, 2011 12:48:23 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r101273 r101274 1 2011-11-28 John Yani <vanuan@gmail.com> 2 3 new-run-webkit-tests is locale dependent 4 https://bugs.webkit.org/show_bug.cgi?id=68691 5 6 Reviewed and modified by Eric Seidel. 7 8 This is a simpler version of John's patch which I'm landing. 9 This just engages the hacks from the Host constructor on a global 10 basis. 11 12 * Scripts/webkitpy/common/host.py: 13 (Host.__init__): 14 (Host._engage_awesome_locale_hacks): 15 1 16 2011-11-28 Fady Samuel <fsamuel@chromium.org> 2 17 -
trunk/Tools/Scripts/webkitpy/common/host.py
r101266 r101274 71 71 self.port_factory = PortFactory(self) 72 72 73 self._engage_awesome_locale_hacks() 74 75 # We call this from the Host constructor, as it's one of the 76 # earliest calls made for all webkitpy-based programs. 77 def _engage_awesome_locale_hacks(self): 78 # To make life easier on our non-english users, we override 79 # the locale environment variables inside webkitpy. 80 # If we don't do this, programs like SVN will output localized 81 # messages and svn.py will fail to parse them. 82 # FIXME: We should do these overrides *only* for the subprocesses we know need them! 83 # This hack only works in unix environments. 84 os.environ['LANGUAGE'] = 'en' 85 os.environ['LANG'] = 'en_US.UTF-8' 86 os.environ['LC_MESSAGES'] = 'en_US.UTF-8' 87 os.environ['LC_ALL'] = '' 88 73 89 # FIXME: This is a horrible, horrible hack for ChromiumWin and should be removed. 74 90 # Maybe this belongs in SVN in some more generic "find the svn binary" codepath?
Note: See TracChangeset
for help on using the changeset viewer.