Revert "Add mode where contrib installcheck runs each module in a separately named...
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Dec 2012 20:03:50 +0000 (15:03 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Dec 2012 20:03:50 +0000 (15:03 -0500)
This reverts commit c8f666abde2af3060af41afe4b03ced2f62d94a9.

contrib/dblink/Makefile
src/Makefile.global.in
src/makefiles/pgxs.mk

index ebdb3931daba7f91869e310e50786489b7a56b70..519c73b68fe5862d0d2ba2032e01192272876afe 100644 (file)
@@ -10,9 +10,6 @@ DATA = uninstall_dblink.sql
 REGRESS = dblink
 
 
-# the db name is hard-coded in the tests
-override undefine USE_MODULE_DB
-
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
index 6fe87f33c3562c4ad04099887d0d580b0277754a..280578a4c39470daf67f5cc783cdb33f7262879f 100644 (file)
@@ -284,15 +284,6 @@ BZIP2      = bzip2
 
 PL_TESTDB = pl_regression
 CONTRIB_TESTDB = contrib_regression
-ifneq ($(MODULE_big),)
-  CONTRIB_TESTDB_MODULE = contrib_regression_$(MODULE_big)
-else 
-  ifneq ($(MODULES),)
-    CONTRIB_TESTDB_MODULE = contrib_regression_$(MODULES)
-  else
-    CONTRIB_TESTDB_MODULE = contrib_regression
-  endif
-endif
 
 # Installation.
 
index 6b501f40c229a60636af3b64227a481f91ed4651..4f1ae191012c2543441a589c566b786b28d2fccb 100644 (file)
@@ -233,11 +233,7 @@ ifdef REGRESS
 
 # Calling makefile can set REGRESS_OPTS, but this is the default:
 ifndef REGRESS_OPTS
- ifdef USE_MODULE_DB
-   REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB_MODULE)
- else
-   REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB)
- endif
+REGRESS_OPTS = --dbname=$(CONTRIB_TESTDB)
 endif
 
 # where to find psql for running the tests