Fix a couple of bugs in the C test template.

This commit is contained in:
Laurence Withers 2006-07-28 10:57:44 +01:00
parent 267b583388
commit 7be4f696b0
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ then
echo "Building test programs..." echo "Building test programs..."
do_cmd mkdir -p obj/tests || return 1 do_cmd mkdir -p obj/tests || return 1
for SRC in src/@NAME@/*.cpp for SRC in src/@NAME@/*.c
do do
TEST="obj/tests/$(basename ${SRC} | sed -e 's,.c$,,')" TEST="obj/tests/$(basename ${SRC} | sed -e 's,.c$,,')"
MODIFIED=0 MODIFIED=0

View File

@ -6,7 +6,7 @@
*/ */
@TEST_HEADERS@ @TEST_HEADERS@
#include <iostream> #include <stdio.h>