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

38 lines
508 B
Plaintext
Raw Normal View History

/* @P@/src/@NAME@/xxx.c
*
* Copyright: ©@YEAR@, @COPYRIGHT@
* Author: @AUTHOR@ <@EMAIL@>
* License: GPLv3
*/
@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
vim: @VIM_MODELINE@
*/