Skip to content
Snippets Groups Projects
Commit 2f19d11f authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Clean up ecpg test files.

parent 3e24112b
Branches
Tags
No related merge requests found
...@@ -48,7 +48,6 @@ extern "C" ...@@ -48,7 +48,6 @@ extern "C"
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif
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 ...@@ -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
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) ...@@ -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;
......
exec sql include header_test; exec sql include header_test;
exec sql type c is char reference; exec sql type c is char reference;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment