Bug 29121

Summary: get-clip.c tests fail because the surface is a different size to what the tests expect
Product: cairo Reporter: Karl Tomlinson <bugs.freedesktop>
Component: generalAssignee: Karl Tomlinson <bugs.freedesktop>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.9.13   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 29120    
Attachments: patch

Description Karl Tomlinson 2010-07-16 15:06:09 UTC
The tests in get-clip.c expect a surface of size 100x100, but since
http://cgit.freedesktop.org/cairo/commit/?id=5d8f366581c0ca31fac76c991cb681d036af275f
the surface is of size 0x0.

cat get-clip.log:
Error: No clip set; clip extents 0.000000,0.000000,0.000000,0.000000 should be 0.000000,0.000000,100.000000,100.000000

The regression was missed due to bug 29120.
Comment 1 Karl Tomlinson 2010-07-16 15:24:31 UTC
Created attachment 37140 [details] [review]
patch
Comment 2 Chris Wilson 2010-07-17 03:35:18 UTC
commit 33ac2035876aeb9215ca0bdaaeea5265fcee61f8
Author: Karl Tomlinson <karlt+@karlt.net>
Date:   Sat Jul 17 10:13:22 2010 +1200

    test: use the surface size expected in get-clip phase "No clip set"
    
    https://bugs.freedesktop.org/show_bug.cgi?id=29121

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.