[cairo-bugs] [Bug 58302] New: Compile tests on `make check` invocation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Dec 14 08:24:10 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=58302
Priority: medium
Bug ID: 58302
Assignee: chris at chris-wilson.co.uk
Summary: Compile tests on `make check` invocation
QA Contact: cairo-bugs at cairographics.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: marvin_schmidt at gmx.net
Hardware: Other
Status: NEW
Version: 1.12.8
Component: general
Product: cairo
Created attachment 71511
--> https://bugs.freedesktop.org/attachment.cgi?id=71511&action=edit
use check_PROGRAMS to compile tests on make check
Currently tests are treated like normal programs and are therefore built during
`make`. This requires having all test dependencies installed to succeed. Among
the test dependencies are packages which depend on cairo itself, causing a
circular dependency.
To work around this one could compile cairo first without running tests,
compile all test dependencies and then get back to running the tests. This can
easily be made possible by using "check_PROGRAMS" for the tests instead of
"noinst_PROGRAMS", resulting in the tests getting built when `make check` is
invoked
The attached patch does just that
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20121214/489204c8/attachment.html>
More information about the cairo-bugs
mailing list