lw-build-system/scripts/build.tests.c/template

36 lines
582 B
Plaintext
Raw Normal View History

/* @P@/src/@NAME@/???.c
*
2009-01-03 22:55:04 +00:00
* (c)2009, @AUTHOR@, <@EMAIL@>.
2007-10-14 11:31:40 +01:00
* Released under the GNU GPLv3. See file COPYING or
* http://www.gnu.org/copyleft/gpl.html for details.
*/
@TEST_HEADERS@
#include <stdio.h>
2006-08-08 11:14:49 +01:00
#include <string.h>
int main(int argc, char* argv[])
{
2006-08-08 11:14:49 +01:00
int ret = 0;
if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
2008-05-09 16:53:18 +01:00
fputs("One line summary.\n", stdout);
return 0;
}
if(argc == 1) {
2007-02-13 16:05:10 +00:00
/* empty argument list */
}
2007-02-13 16:05:10 +00:00
/* TODO */
return ret;
}
/* options for text editors
kate: @KATE_MODELINE@
vim: @VIM_MODELINE@
*/