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

38 lines
508 B
Plaintext

/* @P@/src/@NAME@/xxx.c
*
* Copyright: ©@YEAR@, @COPYRIGHT@
* Author: @AUTHOR@ <@EMAIL@>
* License: GPLv3
*/
@TEST_HEADERS@
#include <stdio.h>
#include <string.h>
int
main(int argc, char* argv[])
{
int ret = 0;
if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
fputs("One line summary.\n", stdout);
return 0;
}
if(argc == 1) {
/* empty argument list */
}
/* TODO */
return ret;
}
/* options for text editors
vim: @VIM_MODELINE@
*/