postgres.git / summary / log / commit / refs
commit 997071691f66dfe92e97e6b4e3d29d153317be31
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat Dec 16 16:32:49 2017 +0000
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".
src/pl/plpgsql/src/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/pl/plpgsql/src/Makefile b/src/pl/plpgsql/src/Makefile
index 64991c3115a..76ac247e578 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
[parent: 699bf7d05c68]