Clean up ecpg test files.

This commit is contained in:
Bruce Momjian 2000-04-29 03:25:24 +00:00
parent 3e24112b71
commit 2f19d11fc8
4 changed files with 6 additions and 9 deletions

View File

@ -48,7 +48,6 @@ extern "C"
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif

View File

@ -1,12 +1,8 @@
all: test1 test2 test3 test4 perftest dyntest dyntest2 all: test1 test2 test3 test4 perftest dyntest dyntest2
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
#LDFLAGS=-g -I../include -I/usr/include/postgresql -L../lib -L/usr/lib/postgresql -lecpg -lpq -lcrypt
#LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
#ECPG=/usr/local/pgsql/bin/ecpg
ECPG=../preproc/ecpg -I../include ECPG=../preproc/ecpg -I../include
#ECPG=/usr/bin/ecpg -I/usr/include/postgresql
.SUFFIXES: .pgc .c .SUFFIXES: .pgc .c
@ -22,4 +18,4 @@ dyntest2: dyntest2.c
$(ECPG) $? $(ECPG) $?
clean: clean:
-/bin/rm test1 test2 test3 test4 perftest *.c log dyntest dyntest2 rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2

View File

@ -1,3 +1,5 @@
exec sql include sqlca; exec sql include sqlca;
exec sql whenever sqlerror do PrintAndStop(msg); exec sql whenever sqlerror do PrintAndStop(msg);
@ -15,8 +17,6 @@ void warn(void)
fprintf(stderr, "Warning: At least one column was truncated\n"); fprintf(stderr, "Warning: At least one column was truncated\n");
} }
exec sql include sqlca;
/* comment */ /* comment */
exec sql define AMOUNT 6; exec sql define AMOUNT 6;

View File

@ -1,3 +1,5 @@
exec sql include header_test; exec sql include header_test;
exec sql type c is char reference; exec sql type c is char reference;