PATCH: Add 'check-installed' target to build system.
Stefan Seefeld
stefan at codesourcery.com
Fri Dec 23 03:16:46 UTC 2005
The attached patch adds a new 'check-installed' target. It is very
similar to 'check', but instead of testing the uninstalled code
from build- and sourcedir, it tests installed (binary) packages.
To do this it generates a new 'context' variable (used by QMTest)
by means of pkg-config. Simply supply 'make check-installed'
with the two optional 'prefix' and 'suffix' variables to extract
the appropriate parameters from the installed pc file.
If no such variables are provided, 'make check-installed' can be
called right after 'make install' to test the freshly installed package.
For other values separately installed vsipl++ packages can be tested.
Don, this patch is a slight refinement on the one I sent you
earlier. It doesn't overwrite the existing tests/context file
but uses a distinct one, so 'make check' is still possible even
after having called 'make check-installed'.
Regards,
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-installed.patch
Type: text/x-patch
Size: 1781 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20051222/2b9bcd04/attachment.bin>
More information about the vsipl++
mailing list