Summary: | gmake test fails on AIX 5.3 build | ||
---|---|---|---|
Product: | cairo | Reporter: | Robert Oelschlaeger <roelschlaeger> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED WONTFIX | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | Brian.Ewins |
Version: | 1.2.6 | ||
Hardware: | PowerPC | ||
OS: | AIX | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Robert Oelschlaeger
2007-02-20 11:32:38 UTC
All of the failing tests you mention use text. Do you have the Bitstream Vera fonts installed? They are required for those tests. This isn't well documented, and crops up regularly. It might be better if we could automatically test for the presence of the font and mark all the text tests 'UNTESTED' if it is unavailable. (In reply to comment #1) > This isn't well documented, and crops up regularly. It might be better if we > could automatically test for the presence of the font and mark all the text > tests 'UNTESTED' if it is unavailable. Or better: Just bundle all necessary fonts. We already do this for a bitmap font required by a test. -Carl (In reply to comment #2) > Or better: Just bundle all necessary fonts. We already do this for a bitmap > font required by a test. I agree, but I don't like the solution used for bitmap-font much. That test manually looks up the font and calls cairo-set-font-face - it'd need changes to all the text tests to go that way, and obviously wont work for the select-font-face test. On the mac we have ATSFontActivateFromFileSpecification, which adds a font file to the search path, I think FcConfigAppFontAddFile is the FontConfig equivalent? Doing something like that when the tests started up should be a small change. I'll try this out. (In reply to comment #3) > I agree, but I don't like the solution used for bitmap-font much. That test > manually looks up the font and calls cairo-set-font-face - it'd need changes to > all the text tests to go that way, and obviously wont work for the > select-font-face test. > > On the mac we have ATSFontActivateFromFileSpecification, which adds a font file > to the search path, I think FcConfigAppFontAddFile is the FontConfig > equivalent? Doing something like that when the tests started up should be a > small change. I'd be comfortable with a "large" change, (there really aren't that many text tests after all). Some functionality implemented in cairo-boilerplate that provided for setting a font into a cairo_t given an absolute filename should do the trick, no? -Carl Bugzilla Upgrade Mass Bug Change NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO. - benjsc fd.o Wrangler Doing a mass close of old make check failures. Thank you for taking the time to build and test cairo on your platform, it is most appreciated. So much has changed in the few years since these reports have been filed (and so little - we've still to integrate fonts within the test suite, though we do now have a viable alternative) that acting upon the information contained within is difficult. We have bold plans during the next development phase to improve the test suite further, which I hope will lead to more timely identification of failures and regressions (possibly even pinpointing bad patches). Again, thanks and please do let us know if we can improve cairo for you. |
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.