Fix a couple of bugs in the C test template.
This commit is contained in:
parent
267b583388
commit
7be4f696b0
|
@ -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
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@TEST_HEADERS@
|
@TEST_HEADERS@
|
||||||
#include <iostream>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue