WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
66040
REGRESSION: nrwt does not use the right fallback sequence for platform-specific tests
https://bugs.webkit.org/show_bug.cgi?id=66040
Summary
REGRESSION: nrwt does not use the right fallback sequence for platform-specif...
Ryosuke Niwa
Reported
2011-08-11 01:15:09 PDT
platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html has been failing on Snow Leopard since andersca has landed his Lion results on
http://trac.webkit.org/changeset/92496
. Looking at the result.html, it appears that it's grabbing the expected result from platform/mac/ instead of platform/mac-snowleopard:
http://build.webkit.org/results/SnowLeopard%20Intel%20Debug%20(Tests)/r92823%20(1624)/results.html
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2011-08-11 01:16:28 PDT
This is a serious bug as there's currently no way of putting different expected results for Lion, Snow Leopard, and Leopard.
Eric Seidel (no email)
Comment 2
2011-08-11 12:40:19 PDT
I suspect NRWT just doesn't know anything about lion, and thus assumes that mac/ is Snow Leopard.
Dirk Pranke
Comment 3
2011-08-11 12:46:27 PDT
NRWT knows about the platform/mac-snow-leopard directory. There isn't an expected result for platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html there, so it uses the one from platform/mac. So, NRWT seems to be working correctly. Is the complaint that a rebaselining tool isn't doing the right thing, perhaps? Or is there something else stopping someone from putting a baseline in the SL dir?
Eric Seidel (no email)
Comment 4
2011-08-11 13:04:58 PDT
(In reply to
comment #3
)
> NRWT knows about the platform/mac-snow-leopard directory. There isn't an expected result for platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html there, so it uses the one from platform/mac. So, NRWT seems to be working correctly. > > Is the complaint that a rebaselining tool isn't doing the right thing, perhaps? Or is there something else stopping someone from putting a baseline in the SL dir?
snowleopard is snow supposed to fall back to lion before mac. I'll change NRWT to match ORWT.
Ryosuke Niwa
Comment 5
2011-08-11 13:07:04 PDT
(In reply to
comment #3
)
> NRWT knows about the platform/mac-snow-leopard directory. There isn't an expected result for platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html there
There is!
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac-snowleopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt
> so it uses the one from platform/mac. So, NRWT seems to be working correctly.
NRWT should be grabbing the result from mac-snowleopard instead of mac.
Ryosuke Niwa
Comment 6
2011-08-11 13:10:24 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > Is the complaint that a rebaselining tool isn't doing the right thing, perhaps? Or is there something else stopping someone from putting a baseline in the SL dir? > > snowleopard is snow supposed to fall back to lion before mac.
Really? That doesn't sound right but if that's what ORWT does then I guess NRWT can do that as well. But I don't think that'll solve problem either because we don't have
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac-lion/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt
, and even if we did, it'll be Lion specific result. The problem is that NRWT isn't looking for the expected result in mac-snowleopard before mac when the test itself is in mac.
Tony Chang
Comment 7
2011-08-11 13:12:36 PDT
The SL expected result for LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html would be in LayoutTests/platform/mac-snow-leopard/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt (to differentiate from a test at LayoutTests/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html). Maybe ORWT doesn't work that way?
Ryosuke Niwa
Comment 8
2011-08-11 13:16:14 PDT
(In reply to
comment #7
)
> The SL expected result for LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html would be in LayoutTests/platform/mac-snow-leopard/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt (to differentiate from a test at LayoutTests/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html). > > Maybe ORWT doesn't work that way?
ORWT assumes the expected result be in LayoutTests/platform/mac-snow-leopard/fast/text/international/ instead of LayoutTests/platform/mac-snow-leopard/platform/mac/fast/text/international/
Tony Chang
Comment 9
2011-08-11 13:23:51 PDT
Why are there results checked into platform/*/platform then? Some of them date back as far as 2009 (pre-NRWT):
http://trac.webkit.org/changeset/45852
Dirk Pranke
Comment 10
2011-08-11 13:24:23 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > The SL expected result for LayoutTests/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html would be in LayoutTests/platform/mac-snow-leopard/platform/mac/fast/text/international/Geeza-Pro-vertical-metrics-adjustment-expected.txt (to differentiate from a test at LayoutTests/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html). > > > > Maybe ORWT doesn't work that way? > > ORWT assumes the expected result be in LayoutTests/platform/mac-snow-leopard/fast/text/international/ instead of LayoutTests/platform/mac-snow-leopard/platform/mac/fast/text/international/
That sounds broken to me. I agree with Tony. To further complicate things, I'll note that there is also a LayoutTests/platform/mac-snowleopard/fast/text/international/Geeza-Pro-vertical-metrics-adjustment.html file itself. I.e., there are platform-specific tests for both mac and mac-sl with the same "generic" name :(. In theory, the platform/mac-snowleopard/f/t/i/G-P-v-m-a-expected.txt file could be interpreted as the "generic" result for that test, or be the platform-specific result for the generic f/t/i test (if it existed).
Ryosuke Niwa
Comment 11
2011-08-11 13:25:46 PDT
(In reply to
comment #9
)
> Why are there results checked into platform/*/platform then? Some of them date back as far as 2009 (pre-NRWT): > >
http://trac.webkit.org/changeset/45852
Huh, I might be wrong then.
Ryosuke Niwa
Comment 12
2011-08-11 13:30:21 PDT
So this bug may be invalid after all.
Eric Seidel (no email)
Comment 13
2011-08-11 13:54:31 PDT
I just implemented support for Lion fallback orders in
bug 66093
.
Eric Seidel (no email)
Comment 14
2011-10-12 14:26:05 PDT
Unclear if this should still be open?
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