[PATCH] optional test code building

Daniel Black dragonheart at gentoo.org
Tue Nov 4 06:41:43 CET 2008


Gcrypt Dev folks,

Diego protested[1] and blogged[2] not to build examples or tests when 
distributors make code. To facilitate this an example[3] was suggested and I 
modeled something similar so that disto maintainers can optionally turn off 
the building of test code (unless they plan to use it).

Is the attached patch or indead the general concept acceptable?

[1] https://bugs.gentoo.org/show_bug.cgi?id=226287
[2] 
http://blog.flameeyes.eu/2008/06/11/please-dont-build-your-examples-by-default
[3] 
http://git.flameeyes.eu/?p=others/0pointer/libdaemon.git;a=commitdiff;h=a301690be6581e23a39813444b2904addcb26ab7
-- 
Daniel Black <dragonheart at gentoo.org>
Gentoo Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcrypt-svn-opt-disable-test.patch
Type: text/x-diff
Size: 1603 bytes
Desc: not available
URL: </pipermail/attachments/20081104/42f72b3f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20081104/42f72b3f/attachment.pgp>


More information about the Gcrypt-devel mailing list