Tidy up tests templates
This commit is contained in:
parent
d79fe808ce
commit
35217ff47d
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue