[cairo-bugs] [Bug 96311] New: [1.15.2] After update, perl-Cairo fails to pass test suite

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 1 16:08:12 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96311

            Bug ID: 96311
           Summary: [1.15.2] After update, perl-Cairo fails to pass test
                    suite
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: dominique-freedesktop.org at leuenberger.net
        QA Contact: cairo-bugs at cairographics.org

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 (
                     'color',
                     {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);
        $cr->paint;
        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 ..

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160601/dd7bade2/attachment.html>


More information about the cairo-bugs mailing list