Bug 85596 - [Qt]ietestcenter/css3/flexbox tests fail on 32 bit
Summary: [Qt]ietestcenter/css3/flexbox tests fail on 32 bit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Dave Tharp
URL:
Keywords: Qt, QtTriaged
: 85666 (view as bug list)
Depends on:
Blocks: 85210
  Show dependency treegraph
 
Reported: 2012-05-04 03:27 PDT by Csaba Osztrogonác
Modified: 2012-05-11 10:27 PDT (History)
7 users (show)

See Also:


Attachments
Patch (23.08 KB, patch)
2012-05-07 15:15 PDT, Dave Tharp
no flags Details | Formatted Diff | Diff
Qt failing results (70.02 KB, application/x-gzip)
2012-05-08 09:41 PDT, Csaba Osztrogonác
no flags Details
Patch (25.17 KB, patch)
2012-05-09 10:44 PDT, Dave Tharp
ossy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 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
Comment 1 Csaba Osztrogonác 2012-05-04 03:51:05 PDT
I skipped them - http://trac.webkit.org/changeset/116082
Comment 2 Dave Tharp 2012-05-07 14:21:31 PDT
*** Bug 85666 has been marked as a duplicate of this bug. ***
Comment 3 Dave Tharp 2012-05-07 15:15:12 PDT
Created attachment 140601 [details]
Patch
Comment 4 Tony Chang 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.
Comment 5 Dave Tharp 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.
Comment 6 Csaba Osztrogonác 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
Comment 7 Csaba Osztrogonác 2012-05-08 09:41:43 PDT
Created attachment 140730 [details]
Qt failing results
Comment 8 Csaba Osztrogonác 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)
Comment 9 Dave Tharp 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.
Comment 10 Dave Tharp 2012-05-09 10:44:18 PDT
Created attachment 140974 [details]
Patch
Comment 11 Dave Tharp 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
Comment 12 Csaba Osztrogonác 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.
Comment 13 Tom Zakrajsek 2012-05-11 10:27:28 PDT
Committed r116784: <http://trac.webkit.org/changeset/116784>