RESOLVED FIXED37484
new-run-webkit-tests: path_from_chromium_base Chromium hacks are sprinkled throughout win32 codepath
https://bugs.webkit.org/show_bug.cgi?id=37484
Summary new-run-webkit-tests: path_from_chromium_base Chromium hacks are sprinkled th...
Eric Seidel (no email)
Reported 2010-04-12 21:14:06 PDT
path_from_chromium_base Chromium hacks are sprinkled throughout new-run-webkit-tests win32 codepath This blocks the WebKit Win port from working. For now I think we should just hack around them with a few "if options.chromium" checks.
Attachments
Eric Seidel (no email)
Comment 1 2010-04-12 21:14:36 PDT
Example hack: # Put the cygwin directory first in the path to find cygwin1.dll env = os.environ if sys.platform in ('cygwin', 'win32'): env['PATH'] = '%s;%s' % ( self._port_obj.path_from_chromium_base('third_party', 'cygwin', 'bin'), env['PATH']) if sys.platform == 'win32' and self._register_cygwin: setup_mount = self._port_obj.path_from_chromium_base('third_party', 'cygwin', 'setup_mount.bat') subprocess.Popen(setup_mount).wait()
Eric Seidel (no email)
Comment 2 2010-04-12 21:15:53 PDT
I think it's more that the http_server.py module doesn't really use the port infrastructure yet.
Dirk Pranke
Comment 3 2011-04-01 16:27:49 PDT
This only calls to that method I see now are from the port/chromium*.py files, and it looks like they are all there legitimately to deal with downstream expectations, results, or builds. I'm guessing someone (me?) must've cleaned this up at some point in the path. Please reopen or file a new bug if you see any other issues.
Note You need to log in before you can comment on or make changes to this bug.