head	1.10;
access;
symbols
	REL7_0_PATCHES:1.8.0.2
	REL7_0:1.8
	REL6_5_PATCHES:1.7.0.4
	REL6_5:1.7
	REL6_4:1.7.0.2
	release-6-3:1.6;
locks; strict;
comment	@# @;


1.10
date	2000.09.29.17.17.39;	author petere;	state dead;
branches;
next	1.9;

1.9
date	2000.08.31.16.12.28;	author petere;	state Exp;
branches;
next	1.8;

1.8
date	2000.01.09.19.34.40;	author tgl;	state Exp;
branches;
next	1.7;

1.7
date	98.09.29.12.41.56;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	97.08.28.04.49.18;	author vadim;	state Exp;
branches;
next	1.5;

1.5
date	97.05.05.06.53.31;	author vadim;	state Exp;
branches;
next	1.4;

1.4
date	97.04.27.02.58.15;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	97.04.26.05.44.38;	author scrappy;	state Exp;
branches;
next	1.2;

1.2
date	97.04.06.08.28.33;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	97.04.05.21.24.38;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.10
log
@New unified regression test driver, test/regress makefile cleanup,
add "check" and "installcheck" targets, straighten out make variable naming
of host_os, host_cpu, etc.
@
text
@#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for regress/input (the regression test)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/test/regress/input/Makefile,v 1.9 2000/08/31 16:12:28 petere Exp $
#
#-------------------------------------------------------------------------

subdir = src/test/regress/input
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

#
# ... plus test query inputs
#
# INFILES is the files the regression test uses for input.
INFILES= copy.sql \
         create_function_1.sql \
         create_function_2.sql \
         misc.sql \
	 constraints.sql

all: $(INFILES)

%.sql: %.source
	if [ -z "$$USER" ]; then USER=$$LOGNAME; fi; \
	if [ -z "$$USER" ]; then USER=`whoami`; fi; \
	if [ -z "$$USER" ]; then echo 'Cannot deduce $$USER.'; exit 1; fi; \
	rm -f $@@; \
	OBJ=`pwd`; \
	sed -e "s:_OBJWD_:$$OBJ/\.\.:g" \
	    -e "s:_DLSUFFIX_:$(DLSUFFIX):g" \
	    -e "s:_LIBDIR_:$(libdir):g" \
	    -e "s/_USER_/$$USER/g" < $< > ../sql/$@@
@


1.9
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d10 1
a10 1
#    $Header: /home/projects/pgsql/cvsroot/pgsql/src/test/regress/input/Makefile,v 1.8 2000/01/09 19:34:40 tgl Exp $
@


1.8
log
@install_plpgsql is no longer a regress test (it's done via createlang);
remove the no-longer-used files.
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/test/regress/input/Makefile,v 1.7 1998/09/29 12:41:56 scrappy Exp $
d14 3
a16 2
SRCDIR= ../../..
include ../../../Makefile.global
d38 1
a38 1
	    -e "s:_LIBDIR_:$(LIBDIR):g" \
@


1.7
log
@
From: Jan Wieck <jwieck@@debis.com>

    here  is  the  patch  that  includes  PL/pgSQL into the build
    (currently with make errors ignored) and  adds  a  regression
    test for it. A clean build and regression ran fine here.

    Can you please apply it?

    The  tar  should  be  extracted  in  /usr/local/src/pgsql and
    creates the following files:

    src/pl/Makefile
            called by toplevel GNUmakefile and for now only calls
            src/pl/plpgsql/Makefile

    src/pl/plpgsql/Makefile
            calls  src/pl/plpgsql/src/Makefile  (here the call to
            make ignores build errors  -  this  must  be  changed
            later for the final release).

    src/test/regress/input/install_plpgsql.source
            SQL script installing PL/pgSQL language in regression
            database. Will be modified by  .../input/Makefile  to
            point  to  correct  PGLIB  directory where plpgsql.so
            gets installed.

    src/test/regress/output/install_plpgsql.source
            expected output for installation script.

    src/test/regress/sql/plpgsql.sql
            the main regression  test.  It  tests  functions  and
            triggers written in PL/pgSQL including views that use
            supportfunctions in this language.

    src/test/regress/expected/plpgsql.out
            the expected output for the above regression test.

    make_plpgsql.diff
            patch that adds some lines to

            src/GNUmakefile.in
            src/test/regress/expected/Makefile
            src/test/regress/input/Makefile
            src/test/regress/output/Makefile
            src/test/regress/sql/Makefile
            src/test/regress/sql/tests
@
text
@d4 1
a4 1
#    Makefile for regress (the regression test)
d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/test/regress/input/Makefile,v 1.6 1997/08/28 04:49:18 vadim Exp $
d25 1
a25 2
	 constraints.sql \
	 install_plpgsql.sql
@


1.6
log
@Tests for CHECK/DEFAULT
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/pgsql/src/test/regress/input/Makefile,v 1.5 1997/05/05 06:53:31 vadim Exp $
d25 2
a26 1
	 constraints.sql
d38 1
@


1.5
log
@There is no more _CWD_ tag in sources...
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/test/regress/input/Makefile,v 1.4 1997/04/27 02:58:15 scrappy Exp $
d24 2
a25 1
         misc.sql
@


1.4
log
@Massive regression test patches from Thomas *woo hoo!*
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/test/regress/input/Makefile,v 1.3 1997/04/26 05:44:38 scrappy Exp $
a32 1
	PWD=`pwd`; \
d34 1
a34 2
	sed -e "s:_CWD_:$(PWD):g" \
	    -e "s:_OBJWD_:$$OBJ/\.\.:g" \
@


1.3
log
@Clean out/up some files that are causing me great headaches since I didn't
do this completely last time and Thomas is creating patches on files that
aren't supposed to exist :(
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/test/regress/input/Makefile,v 1.2 1997/04/06 08:28:33 scrappy Exp $
d23 2
a24 1
         create_function_2.sql 
@


1.2
log
@More splits and cleanups...

Its starting to actually take shape and look as expected...
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/test/regress/input/Makefile,v 1.1 1997/04/05 21:24:38 scrappy Exp $
d32 2
a33 1
	C=`pwd`; \
d35 1
a35 1
	    -e "s:_OBJWD_:$(PWD):g" \
@


1.1
log
@More splits of the regression tests in order to make them more
user-friendly (and more useful)
@
text
@d10 1
a10 1
#    $Header: /usr/local/cvsroot/postgres95/src/test/regress/GNUmakefile,v 1.1 1997/01/21 01:27:18 momjian Exp $
d21 3
a23 2
INFILES= create_misc.sql \
         create_function.sql 
@
