RESOLVED FIXED 143693
Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
https://bugs.webkit.org/show_bug.cgi?id=143693
Summary Skip failing test Tests/WebKit2Cocoa/FixedLayoutSize.mm on iOS
Daniel Bates
Reported 2015-04-13 21:40:24 PDT
The test Tests/WebKit2Cocoa/FixedLayoutSize.mm is failing on iOS. See <rdar://problem/20530316> for more details.
Attachments
Skip the test on iOS (1.61 KB, patch)
2015-04-13 21:44 PDT, Daniel Bates
no flags
Skip the test on iOS (1.41 KB, patch)
2015-04-14 09:32 PDT, Daniel Bates
thorton: review+
Daniel Bates
Comment 1 2015-04-13 21:44:21 PDT
Created attachment 250691 [details] Skip the test on iOS
Daniel Bates
Comment 2 2015-04-13 21:46:55 PDT
I have not had a chance to investigate the test failure. If we feel that we cannot fix the test in a reasonable amount of time then I suggest we temporarily skip it so that the test bot is not red.
Tim Horton
Comment 3 2015-04-14 01:06:02 PDT
Comment on attachment 250691 [details] Skip the test on iOS View in context: https://bugs.webkit.org/attachment.cgi?id=250691&action=review > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:55 > +#if PLATFORM(IOS) Is this how we usually do this? I was expecting a big PLATFORM #if around the whole thing.
Tim Horton
Comment 4 2015-04-14 01:06:58 PDT
I think we should skip it, since I don't have any motivation to make fixed layout take over from the viewport code on iOS at the moment. That would be more like a feature than fixing a test.
Daniel Bates
Comment 5 2015-04-14 09:23:41 PDT
(In reply to comment #3) > Comment on attachment 250691 [details] > Skip the test on iOS > > View in context: > https://bugs.webkit.org/attachment.cgi?id=250691&action=review > > > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:55 > > +#if PLATFORM(IOS) > > Is this how we usually do this? I was expecting a big PLATFORM #if around > the whole thing. I will update the patch to disable the test by conditionally compiling it on non-iOS platforms given that you do not "have any motivation to make fixed layout take over from the viewport code on iOS at the moment" (comment #4). When I wrote the original patch I was unclear if we wanted to skip this test permanently on iOS as implied by your remarks in comment #4. So, I chose to prefix the name of the test with "DISABLED_" to demarcate that the test is temporarily disabled. Among of the benefits of this approach is that GoogleTest will print a banner about the disabled tests (as a reminder to fix it).
Daniel Bates
Comment 6 2015-04-14 09:32:43 PDT
Created attachment 250711 [details] Skip the test on iOS
Tim Horton
Comment 7 2015-04-14 10:33:01 PDT
(In reply to comment #5) > (In reply to comment #3) > > Comment on attachment 250691 [details] > > Skip the test on iOS > > > > View in context: > > https://bugs.webkit.org/attachment.cgi?id=250691&action=review > > > > > Tools/TestWebKitAPI/Tests/WebKit2Cocoa/FixedLayoutSize.mm:55 > > > +#if PLATFORM(IOS) > > > > Is this how we usually do this? I was expecting a big PLATFORM #if around > > the whole thing. > > I will update the patch to disable the test by conditionally compiling it on > non-iOS platforms given that you do not "have any motivation to make fixed > layout take over from the viewport code on iOS at the moment" (comment #4). > > When I wrote the original patch I was unclear if we wanted to skip this test > permanently on iOS as implied by your remarks in comment #4. So, I chose to > prefix the name of the test with "DISABLED_" to demarcate that the test is > temporarily disabled. Among of the benefits of this approach is that > GoogleTest will print a banner about the disabled tests (as a reminder to > fix it). Ah! That makes sense. Thanks!
Daniel Bates
Comment 8 2015-04-14 10:58:38 PDT
Note You need to log in before you can comment on or make changes to this bug.