[Developers] Code tests

Erik Schnetter schnetter at cct.lsu.edu
Sat Jan 13 17:32:38 CST 2007

Here is an idea for thorns that want to include self-tests.  Instead  
of using #ifdef to enable or disable the self-test code, introduce a  
boolean parameter "selftest".  If this parameter is true, then  
schedule the self-test routine e.g. into the Paramcheck bin, and use  
CCTK_ParamWarn to report test failures.


Erik Schnetter <schnetter at cct.lsu.edu>

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20070113/0372bc98/attachment.bin 

More information about the Developers mailing list