From: Tom Lane Date: Sat, 16 Dec 2017 16:32:49 +0000 (-0500) Subject: Fix oversights in new plpgsql test suite infrastructure. X-Git-Tag: REL_11_BETA1~1064 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=997071691f66dfe92e97e6b4e3d29d153317be31;p=postgresql Fix oversights in new plpgsql test suite infrastructure. Fix a couple of minor oversights in commit 632b03da3: the tests should be run in database "pl_regression" like the other PLs do, and we should clean up the tests' output cruft during "make clean". --- diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile index 64991c3115..76ac247e57 100644 --- a/src/pl/plpgsql/src/Makefile +++ b/src/pl/plpgsql/src/Makefile @@ -24,6 +24,8 @@ OBJS = pl_gram.o pl_handler.o pl_comp.o pl_exec.o \ DATA = plpgsql.control plpgsql--1.0.sql plpgsql--unpackaged--1.0.sql +REGRESS_OPTS = --dbname=$(PL_TESTDB) + REGRESS = plpgsql_call all: all-lib @@ -85,6 +87,7 @@ distprep: pl_gram.h pl_gram.c plerrcodes.h # so they are not cleaned here. clean distclean: clean-lib rm -f $(OBJS) + rm -rf $(pg_regress_clean_files) -maintainer-clean: clean +maintainer-clean: distclean rm -f pl_gram.c pl_gram.h plerrcodes.h