Bug 96311 - [1.15.2] After update, perl-Cairo fails to pass test suite
Summary: [1.15.2] After update, perl-Cairo fails to pass test suite
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2016-06-01 16:08 UTC by Dominique Leuenberger
Modified: 2018-08-25 13:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Dominique Leuenberger 2016-06-01 16:08:12 UTC
After updating cairo to version 1.15.2 (from 1.14.4) perl-Cairo no longer passes its test suite.

Now this can of course mean perl-Cairo does something wrong, relies on old (wrong?) behavior of cairo or it might expose a bug / unintentional change in cairo.

That's what this bug is about - to find out which is true

Cairo's test suite does this:

        my $surf = Cairo::RecordingSurface->create (
                     {x=>10, y=>10, width=>5, height=>5});
        isa_ok ($surf, 'Cairo::RecordingSurface');
        isa_ok ($surf, 'Cairo::Surface');

        # Test that the extents rectangle was marshalled correctly.
        my $cr = Cairo::Context->create ($surf);
        $cr->move_to (0, 0);
        $cr->line_to (30, 30);
        is_deeply ([$surf->ink_extents], [10, 10, 5, 5]);

with cairo 1.15.2, this fails with an error like:

[  106s] #   Failed test at t/CairoSurface.t line 399.
[  106s] #     Structures begin differing at:
[  106s] #          $got->[0] = '0'
[  106s] #     $expected->[0] = '10'
[  106s] # Looks like you failed 1 test of 88.
[  106s] t/CairoSurface.t ..
Comment 1 Bryce Harrington 2016-10-10 21:00:29 UTC
There was a fairly extensive test fix landed for recording surfaces a few days after you filed this bug report.  Could you verify whether the perl test is still failing with current trunk?
Comment 2 GitLab Migration User 2018-08-25 13:45:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/180.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.