<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [1.15.2] After update, perl-Cairo fails to pass test suite"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96311">96311</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[1.15.2] After update, perl-Cairo fails to pass test suite
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dominique-freedesktop.org@leuenberger.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 ..</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>