Bug 85596

Summary: [Qt]ietestcenter/css3/flexbox tests fail on 32 bit
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: Tools / TestsAssignee: Dave Tharp <dtharp>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, aestes, dtharp, ossy, rakuco, tomz, webkit.review.bot
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 85210    
Attachments:
Description Flags
Patch
none
Qt failing results
none
Patch ossy: review+

Csaba Osztrogonác
Reported 2012-05-04 03:27:55 PDT
Some tests introduced in http://trac.webkit.org/changeset/116018 fail on 32 bit with minor pixel differences: ietestcenter/css3/flexbox/flexbox-align-end-001.htm ietestcenter/css3/flexbox/flexbox-align-start-001.htm ietestcenter/css3/flexbox/flexbox-flex-001.htm ietestcenter/css3/flexbox/flexbox-flex-002.htm ietestcenter/css3/flexbox/flexbox-flex-003.htm ietestcenter/css3/flexbox/flexbox-groups-001.htm ietestcenter/css3/flexbox/flexbox-groups-002.htm ietestcenter/css3/flexbox/flexbox-groups-004.htm ietestcenter/css3/flexbox/flexbox-layout-003.htm
Attachments
Patch (23.08 KB, patch)
2012-05-07 15:15 PDT, Dave Tharp
no flags
Qt failing results (70.02 KB, application/x-gzip)
2012-05-08 09:41 PDT, Csaba Osztrogonác
no flags
Patch (25.17 KB, patch)
2012-05-09 10:44 PDT, Dave Tharp
ossy: review+
Csaba Osztrogonác
Comment 1 2012-05-04 03:51:05 PDT
Dave Tharp
Comment 2 2012-05-07 14:21:31 PDT
*** Bug 85666 has been marked as a duplicate of this bug. ***
Dave Tharp
Comment 3 2012-05-07 15:15:12 PDT
Tony Chang
Comment 4 2012-05-07 15:40:26 PDT
Comment on attachment 140601 [details] Patch Did you file a bug to change the tests upstream? I thought we normally don't change upstream tests.
Dave Tharp
Comment 5 2012-05-07 18:59:11 PDT
(In reply to comment #4) > (From update of attachment 140601 [details]) > Did you file a bug to change the tests upstream? I thought we normally don't change upstream tests. The upstream tests are not changed. I wrote (and updated for this bug) the reference tests.
Csaba Osztrogonác
Comment 6 2012-05-08 09:39:01 PDT
Comment on attachment 140601 [details] Patch I tested the patch on Qt 32 bit (where these tests failed) and 4 tests still fail: ietestcenter/css3/flexbox/flexbox-align-end-001.htm = IMAGE ietestcenter/css3/flexbox/flexbox-align-start-001.htm = IMAGE ietestcenter/css3/flexbox/flexbox-flex-002.htm = IMAGE ietestcenter/css3/flexbox/flexbox-layout-003.htm = IMAGE
Csaba Osztrogonác
Comment 7 2012-05-08 09:41:43 PDT
Created attachment 140730 [details] Qt failing results
Csaba Osztrogonác
Comment 8 2012-05-08 09:53:52 PDT
(In reply to comment #7) > Created an attachment (id=140730) [details] > Qt failing results And all tests pass on Qt 64 bit (with and without this patch too)
Dave Tharp
Comment 9 2012-05-08 10:09:15 PDT
(In reply to comment #8) > (In reply to comment #7) > > Created an attachment (id=140730) [details] [details] > > Qt failing results > > And all tests pass on Qt 64 bit (with and without this patch too) Ossy, Thanks for testing this. I'm on 64 bit, so that's why I'm not seeing a failure. I'll see about getting a 32bit system up and running to repro.
Dave Tharp
Comment 10 2012-05-09 10:44:18 PDT
Dave Tharp
Comment 11 2012-05-09 15:46:55 PDT
(In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > > > Created an attachment (id=140730) [details] [details] [details] > > > Qt failing results > > > > And all tests pass on Qt 64 bit (with and without this patch too) > > Ossy, Thanks for testing this. I'm on 64 bit, so that's why I'm not seeing a failure. I'll see about getting a 32bit system up and running to repro. I was able to build a 32-bit test system and repro on QT32 bit. I've reworked the ref tests to workaround the QT 32-bit strangeness, and verified everything is working properly on QT32 as well as Mac Lion (these were the two problem children, but as it turns out, for separate reasons). I have created a bug which captures the Qt32 strangeness: bug 86026
Csaba Osztrogonác
Comment 12 2012-05-10 23:09:17 PDT
Comment on attachment 140974 [details] Patch I tested this patch, it works fine on 32 and on 64 bit Qt, so r=me. Please update qt/test-expectations.txt and mac/Skipped file before landing, because they coflict with the trunk now.
Tom Zakrajsek
Comment 13 2012-05-11 10:27:28 PDT
Note You need to log in before you can comment on or make changes to this bug.