head	1.8;
access;
symbols
	REL9_0_0:1.8
	REL9_1_ALPHA1:1.8
	REL9_0_RC1:1.8
	REL9_0_BETA4:1.8
	REL9_0_STABLE:1.8.0.4
	REL9_0_BETA3:1.8
	REL9_0_BETA2:1.8
	REL8_2_17:1.3
	REL8_3_11:1.4
	REL8_4_4:1.5
	REL9_0_BETA1:1.8
	REL9_0_ALPHA5_BRANCH:1.8.0.2
	REL9_0_ALPHA5:1.8
	REL8_2_16:1.3
	REL8_3_10:1.4
	REL8_4_3:1.5
	REL9_0_ALPHA4:1.7
	REL9_0_ALPHA4_BRANCH:1.7.0.2
	REL8_5_ALPHA3:1.6
	REL8_5_ALPHA3_BRANCH:1.6.0.2
	REL8_2_15:1.3
	REL8_3_9:1.4
	REL8_4_2:1.5
	REL8_5_ALPHA2:1.5
	REL8_5_ALPHA2_BRANCH:1.5.0.6
	REL8_2_14:1.3
	REL8_3_8:1.4
	REL8_4_1:1.5
	REL8_5_ALPHA1:1.5
	REL8_5_ALPHA1_BRANCH:1.5.0.4
	REL8_4_STABLE:1.5.0.2
	REL8_4_0:1.5
	REL8_4_RC2:1.5
	REL8_4_RC1:1.5
	REL8_4_BETA2:1.5
	REL8_4_BETA1:1.5
	REL8_2_13:1.3
	REL8_3_7:1.4
	REL8_2_12:1.3
	REL8_3_6:1.4
	REL8_2_11:1.3
	REL8_3_5:1.4
	REL8_2_10:1.3
	REL8_3_4:1.4
	REL8_2_9:1.3
	REL8_3_3:1.4
	REL8_2_8:1.3
	REL8_3_2:1.4
	REL8_2_7:1.3
	REL8_3_1:1.4
	REL8_3_STABLE:1.4.0.2
	REL8_3_0:1.4
	REL8_3_RC2:1.4
	REL8_2_6:1.3
	REL8_3_RC1:1.4
	REL8_3_BETA4:1.4
	REL8_3_BETA3:1.4
	REL8_3_BETA2:1.4
	REL8_3_BETA1:1.4
	REL8_2_5:1.3
	REL8_2_4:1.3
	REL8_2_3:1.3
	REL8_2_2:1.3
	REL8_2_1:1.3
	REL8_2_STABLE:1.3.0.2
	REL8_2_0:1.3
	REL8_2_RC1:1.3
	REL8_2_BETA3:1.3
	REL8_2_BETA2:1.3
	REL8_2_BETA1:1.3;
locks; strict;
comment	@# @;


1.8
date	2010.03.21.10.49.52;	author meskes;	state Exp;
branches;
next	1.7;

1.7
date	2010.01.26.09.07.32;	author meskes;	state Exp;
branches;
next	1.6;

1.6
date	2009.11.26.15.06.47;	author meskes;	state Exp;
branches;
next	1.5;

1.5
date	2008.10.29.08.04.54;	author petere;	state Exp;
branches;
next	1.4;

1.4
date	2007.08.14.10.01.54;	author meskes;	state Exp;
branches;
next	1.3;

1.3
date	2006.09.08.13.32.29;	author meskes;	state Exp;
branches;
next	1.2;

1.2
date	2006.09.08.09.03.40;	author meskes;	state Exp;
branches;
next	1.1;

1.1
date	2006.09.05.12.11.02;	author meskes;	state Exp;
branches;
next	;


desc
@@


1.8
log
@ECPG only copied #include statements instead of processing them according to
commandline option "-i". This change fixes this and adds a test case. It also
honors #include_next, although this is probably never used for embedded SQL.
@
text
@subdir = src/interfaces/ecpg/test/preproc
top_builddir = ../../../../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/$(subdir)/../Makefile.regress


TESTS = array_of_struct array_of_struct.c \
	autoprep autoprep.c \
	comment comment.c \
	cursor cursor.c \
	define define.c \
	init init.c \
	strings strings.c \
	outofscope outofscope.c \
	type type.c \
	variable variable.c \
	whenever whenever.c

all: $(TESTS)

array_of_struct.c:	array_of_struct.pgc ../regression.h
	$(ECPG) -c -o $@@ -I$(srcdir) $<

autoprep.c:     autoprep.pgc ../regression.h
	$(ECPG) -r prepare -o $@@ -I$(srcdir) $<

strings.c:     strings.pgc strings.h ../regression.h
	$(ECPG) -i -o $@@ -I$(srcdir) $<
@


1.7
log
@Applied patch by Boszormenyi Zoltan <zb@@cybertec.at> to add out-of-scope cursor support to native mode.
@
text
@d27 2
@


1.6
log
@Added dynamic cursor names to ecpg. Almost the whole patch was done by
Boszormenyi Zoltan, with only a minor tweak or two from me.
@
text
@d14 1
@


1.5
log
@Unicode escapes in strings and identifiers
@
text
@d10 1
@


1.4
log
@- Finished major rewrite to use new protocol version
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
@
text
@d12 1
@


1.3
log
@Replaced complex tests with small ones.
@
text
@d7 3
a9 1
TESTS = comment comment.c \
d18 6
@


1.2
log
@More logic from complex/test* moved to their own testcases.
@
text
@d7 2
a8 1
TESTS = define define.c \
d11 2
a12 1
	variable variable.c
@


1.1
log
@Started to cleanup complex tests.
Added some interval checks to regression suite.
@
text
@d8 3
a10 1
	init init.c
@

