Unit tests of internal functions
Luke Howard
lukeh at padl.com
Wed Dec 30 09:23:48 EST 2009
On 30/12/2009, at 3:09 PM, Ezra Peisach wrote:
> Ignoring the bashing of libtool...
>
> There is another solution to the problem and requires the export of only
> one function... It is however ugly... One could build the test programs
> into the library requiring a single function to execute them.... For a
> static library this would not be so bad as the test code would be thrown
> out at linking. With shared libraries, all executables get the code as
> well...
But maybe combined with the idea of linking the shared library twice (with and without tests), this is workable?
-- Luke
More information about the krbdev
mailing list