diff options
| author | Tom Lane | 2005-05-17 18:26:23 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-05-17 18:26:23 +0000 |
| commit | 4e7d6f534913becd050f21dab8f4a7a90fe1c0c3 (patch) | |
| tree | 768f604f2b341d4bc7b1cb9bdb13284dc44f410f /src/pl | |
| parent | f9ad8a2802a67ee99f1ed7a16999b5faa3c2602f (diff) | |
Add a --dbname option to the pg_regress script, and use pl_regression
for testing PLs and contrib_regression for testing contrib, instead of
overwriting the core system's regression database as formerly done.
Andrew Dunstan
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plperl/GNUmakefile | 5 | ||||
| -rw-r--r-- | src/pl/plpython/Makefile | 5 | ||||
| -rw-r--r-- | src/pl/tcl/Makefile | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 6a0d8fa9edf..509c4634b3e 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -1,5 +1,5 @@ # Makefile for PL/Perl -# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.19 2005/05/14 17:55:20 tgl Exp $ +# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.20 2005/05/17 18:26:22 tgl Exp $ subdir = src/pl/plperl top_builddir = ../../.. @@ -36,6 +36,7 @@ OBJS = plperl.o spi_internal.o SPI.o SHLIB_LINK = $(perl_embed_ldflags) $(BE_DLLLIBS) +REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl REGRESS = plperl include $(top_srcdir)/src/Makefile.shlib @@ -62,7 +63,7 @@ uninstall: rm -f $(DESTDIR)$(pkglibdir)/plperl$(DLSUFFIX) installcheck: submake - $(SHELL) $(top_builddir)/src/test/regress/pg_regress --load-language=plperl $(REGRESS) + $(SHELL) $(top_builddir)/src/test/regress/pg_regress $(REGRESS_OPTS) $(REGRESS) .PHONY: submake submake: diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index e6f9a39e8f0..3720dc3cef0 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.19 2005/05/14 17:55:21 tgl Exp $ +# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.20 2005/05/17 18:26:23 tgl Exp $ subdir = src/pl/plpython top_builddir = ../../.. @@ -58,6 +58,7 @@ endif SHLIB_LINK = $(BE_DLLLIBS) $(python_libspec) $(python_additional_libs) +REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plpythonu REGRESS = plpython_schema plpython_populate plpython_function plpython_test plpython_error plpython_drop include $(top_srcdir)/src/Makefile.shlib @@ -81,7 +82,7 @@ uninstall: rm -f $(DESTDIR)$(pkglibdir)/plpython$(DLSUFFIX) installcheck: submake - $(SHELL) $(top_builddir)/src/test/regress/pg_regress --load-language=plpythonu $(REGRESS) + $(SHELL) $(top_builddir)/src/test/regress/pg_regress $(REGRESS_OPTS) $(REGRESS) .PHONY: submake submake: diff --git a/src/pl/tcl/Makefile b/src/pl/tcl/Makefile index ff65b0e020e..6b7764e942a 100644 --- a/src/pl/tcl/Makefile +++ b/src/pl/tcl/Makefile @@ -2,7 +2,7 @@ # # Makefile for the pltcl shared object # -# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.45 2005/05/14 17:55:22 tgl Exp $ +# $PostgreSQL: pgsql/src/pl/tcl/Makefile,v 1.46 2005/05/17 18:26:23 tgl Exp $ # #------------------------------------------------------------------------- @@ -40,6 +40,7 @@ SO_MAJOR_VERSION = 2 SO_MINOR_VERSION = 0 OBJS = pltcl.o +REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=pltcl REGRESS = pltcl_setup pltcl_queries include $(top_srcdir)/src/Makefile.shlib @@ -68,7 +69,7 @@ uninstall: $(MAKE) -C modules $@ installcheck: submake - $(SHELL) $(top_builddir)/src/test/regress/pg_regress --load-language=pltcl $(REGRESS) + $(SHELL) $(top_builddir)/src/test/regress/pg_regress $(REGRESS_OPTS) $(REGRESS) .PHONY: submake submake: |
