WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
108416
consider adding a platform/mac-wk1 directory
https://bugs.webkit.org/show_bug.cgi?id=108416
Summary
consider adding a platform/mac-wk1 directory
Dirk Pranke
Reported
2013-01-30 18:51:07 PST
for WK1 Apple Mac-specific baselines and exceptions. This appears to come up from time to time (e.g.,
bug 106187
just now), where there is no good solution to indicate that a test will fail on WK1 and Lion WK2 but should work on newer versions of WK2. Other ports (Gtk, Qt, Efl) have both -wk1 and -wk2 directories, but apple mac only uses -wk2. Adding a -wk1 directory would solve this problem. However, the issue is complicated slightly by the fact that -- as things are currently implemented -- the easiest patch to do this would change the default location for new baselines from platform/mac-$version to platform/mac-wk1. Also, when generating new baselines with -2, we have that problem today (baselines go into mac-wk2 instead of platform/mac-$version). It seems to me that using those directories by default is probably wrong, and I'm actually surprised this hasn't come up yet, but maybe baselines are more often generated w/ the -wk1 builds? I could change the code to never use the -wk1 or -wk2 variants for baselines by default (and you'd have to manually specify a directory to use it), or I could change the code to leave -wk2 alone and just never use -wk1. Or we could go whole-hog and create mac-$version-{wk1,wk2} dirs and use those as appropriate and rely on the baseline optimizer to de-dup things. (Note that Gtk, Qt, Efl don't have this problem since they don't generally have version-specific dirs). I have no real skin in this game, so I will implement whatever the apple folks want here.
Attachments
Patch
(4.33 KB, patch)
2013-01-30 18:55 PST
,
Dirk Pranke
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2013-01-30 18:52:03 PST
Note that there is also the option to add "WK1" and "WK2" modifiers in the TestExpectations file, but as per the most recent thread on this the consensus seemed to be against this.
https://lists.webkit.org/pipermail/webkit-dev/2012-November/022825.html
Dirk Pranke
Comment 2
2013-01-30 18:55:27 PST
Created
attachment 185656
[details]
Patch
Dirk Pranke
Comment 3
2013-01-30 18:57:47 PST
The failing test in question is:
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/mac_unittest.py#L127
(another test fails w/ the same problem, but this one illustrates the problem sufficiently).
Eric Seidel (no email)
Comment 4
2013-01-30 19:23:02 PST
This is definitely a patch for review by one of the Mac WK1 maintainers.
Dirk Pranke
Comment 5
2013-02-20 16:10:57 PST
smfr, jberlin, rniwa ... any thoughts? Failing that, I'll just abandon this.
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