Changeset 77720 in webkit
- Timestamp:
- Feb 4, 2011 6:39:01 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r77710 r77720 1 2011-02-04 Tony Chang <tony@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 get test-webkitpy running on win32 python 6 https://bugs.webkit.org/show_bug.cgi?id=53822 7 8 The test harness crashes with a WindowsError because it can't find 9 'svn' when using subprocess.Popen. This gets us past the error 10 so we can see the failing tests on the Chromium Win Release Tests 11 bot. 12 13 * Scripts/webkitpy/common/system/executive.py: 14 1 15 2011-02-04 Martin Robinson <mrobinson@igalia.com> 2 16 -
trunk/Tools/Scripts/webkitpy/common/system/executive.py
r75586 r77720 112 112 return sys.platform not in ('win32', 'cygwin') 113 113 114 def _should_use_shell(self): 115 # On Windows, if we don't use the shell, we don't search %PATH% to 116 # find the command-- an absolute path is required. 117 return sys.platform.startswith('win') 118 114 119 def _run_command_with_teed_output(self, args, teed_output): 115 120 args = map(unicode, args) # Popen will throw an exception if args are non-strings (like int()) … … 119 124 stdout=subprocess.PIPE, 120 125 stderr=subprocess.STDOUT, 121 close_fds=self._should_close_fds()) 126 close_fds=self._should_close_fds(), 127 shell=self._should_use_shell()) 122 128 123 129 # Use our own custom wait loop because Popen ignores a tee'd … … 352 358 stderr=stderr, 353 359 cwd=cwd, 354 close_fds=self._should_close_fds()) 360 close_fds=self._should_close_fds(), 361 shell=self._should_use_shell()) 355 362 output = process.communicate(string_to_communicate)[0] 356 363
Note: See TracChangeset
for help on using the changeset viewer.