Unit tests of internal functions

Ezra Peisach epeisach at MIT.EDU
Wed Dec 30 09:09:52 EST 2009


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...



More information about the krbdev mailing list