From 427ad942356e5fc273fb4ec99ae9f09f6c5991f2 Mon Sep 17 00:00:00 2001 From: Raul Marin Date: Tue, 29 Oct 2019 12:34:29 +0100 Subject: [PATCH] Fix installcheck target --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c62a95b..0f902aa 100644 --- a/Makefile +++ b/Makefile @@ -214,12 +214,12 @@ legacy_tests: legacy_regress $(EXTENSION)--unpackaged--$(EXTVERSION).sql PGREGRESS := $(shell dirname `$(PG_CONFIG) --pgxs`)/../../src/test/regress/pg_regress PGBINDIR := $(shell $(PG_CONFIG) --bindir) -PGDATABASE = 'contrib_regression' +PGREGRESSDATABASE = 'contrib_regression' regress: legacy_tests PGUSER=$(PGUSER) \ PGPORT=$(PGPORT) \ - $(PGREGRESS) --inputdir=./ --bindir='$(PGBINDIR)' --dbname=$(PGDATABASE) $(REGRESS) + $(PGREGRESS) --inputdir=./ --bindir='$(PGBINDIR)' --dbname=$(PGREGRESSDATABASE) $(REGRESS) -installcheck: test_extension_new test_organization - $(MAKE) -C regress +installcheck: test_extension_new test_organization regress + $(MAKE) -f ... -C regress