Tidy up tests templates

This commit is contained in:
Laurence Withers 2008-05-09 15:53:18 +00:00
parent d79fe808ce
commit 35217ff47d
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ then
for SRC in src/@NAME@/*.c
do
TEST="obj/tests/$(basename ${SRC} | sed -e 's,.c$,,')"
TEST="obj/tests/$(basename "${SRC}" ".c")"
MODIFIED=0
for file in ${LIBS} ${SRC} src/@NAME@/build.tests
do

View File

@ -16,7 +16,7 @@ int main(int argc, char* argv[])
int ret = 0;
if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
printf("One line summary.\n");
fputs("One line summary.\n", stdout);
return 0;
}