WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
54652
REGRESSION (
r78522
): webkitpy.layout_tests.port.chromium_win_unittest.ChromiumWinTest.test_setup_environ_for_server_register_cygwin failing on Apple's Windows port
https://bugs.webkit.org/show_bug.cgi?id=54652
Summary
REGRESSION (r78522): webkitpy.layout_tests.port.chromium_win_unittest.Chromiu...
Adam Roben (:aroben)
Reported
2011-02-17 06:54:02 PST
webkitpy.layout_tests.port.chromium_win_unittest.ChromiumWinTest.test_setup_environ_for_server_register_cygwin is failing on Apple's Windows port. See the URL for an example.
Attachments
Patch
(3.47 KB, patch)
2011-02-17 19:40 PST
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Patch
(3.75 KB, patch)
2011-02-17 20:21 PST
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
Patch
(1.65 KB, patch)
2011-02-18 14:51 PST
,
Dirk Pranke
aroben
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Adam Roben (:aroben)
Comment 1
2011-02-17 06:55:14 PST
Looks like this started failing in
r78522
. Here's the first test run where it failed:
http://build.webkit.org/builders/Windows%20XP%20Debug%20%28Tests%29/builds/25257
Adam Roben (:aroben)
Comment 2
2011-02-17 06:57:50 PST
<
rdar://problem/9016939
>
Dirk Pranke
Comment 3
2011-02-17 12:32:28 PST
I have a patch for this somewhere. I'll try to get it landed this afternoon.
Dirk Pranke
Comment 4
2011-02-17 19:40:31 PST
Created
attachment 82905
[details]
Patch
Dirk Pranke
Comment 5
2011-02-17 19:41:16 PST
Note that I'm kinda hijacking this bug. I believe the change in port_testcase fixes this issue, but the fixes to the baseline path are needed somewhere in here as well.
Adam Roben (:aroben)
Comment 6
2011-02-17 19:56:14 PST
Comment on
attachment 82905
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=82905&action=review
> Tools/Scripts/webkitpy/layout_tests/port/chromium_win.py:102 > + def baseline_path(self): > + if self.version() == 'win7': > + return self._webkit_baseline_path('chromium-win') > + return self._webkit_baseline_path(self.name())
Why does win7 need a special case? Seems worth a comment.
> Tools/Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:44 > + self.results_directory = '/'
What effect does this have? Can you explain in the ChangeLog?
Dirk Pranke
Comment 7
2011-02-17 20:21:15 PST
Created
attachment 82908
[details]
Patch
Dirk Pranke
Comment 8
2011-02-17 20:21:51 PST
Committed
r78943
: <
http://trac.webkit.org/changeset/78943
>
Dirk Pranke
Comment 9
2011-02-17 20:23:22 PST
(In reply to
comment #6
)
> (From update of
attachment 82905
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=82905&action=review
> > > Tools/Scripts/webkitpy/layout_tests/port/chromium_win.py:102 > > + def baseline_path(self): > > + if self.version() == 'win7': > > + return self._webkit_baseline_path('chromium-win') > > + return self._webkit_baseline_path(self.name()) > > Why does win7 need a special case? Seems worth a comment. >
Done (this is confusingly written in this version, but if version is win7, name is 'chromium-win-win7' and we don't want to use the version-specific directory, since win7 is the newest version. This gets cleaned up in a later patch so I'm not going to sweat it here.
> > Tools/Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:44 > > + self.results_directory = '/' > > What effect does this have? Can you explain in the ChangeLog?
Turns out this didn't need to be set, but the code in port_testcase that was using it was doing something unnecessary that triggered it. I fixed that code instead.
Ojan Vafai
Comment 10
2011-02-17 20:40:39 PST
Comment on
attachment 82908
[details]
Patch Clearing review flag since this has been committed.
Jessie Berlin
Comment 11
2011-02-18 12:55:48 PST
This test is still failing:
http://build.webkit.org/builders/Windows%207%20Release%20%28Tests%29/builds/9507/steps/webkitpy-test/logs/stdio
Dirk Pranke
Comment 12
2011-02-18 14:20:07 PST
so it is ... maybe I only fixed it for win32, and not cygwin. Looking now ...
Dirk Pranke
Comment 13
2011-02-18 14:51:41 PST
Created
attachment 83015
[details]
Patch
Dirk Pranke
Comment 14
2011-02-18 14:58:26 PST
Committed
r79036
: <
http://trac.webkit.org/changeset/79036
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug