Skip to content

Commit 9970716

Browse files
committed
Fix oversights in new plpgsql test suite infrastructure.
Fix a couple of minor oversights in commit 632b03d: 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".
1 parent 699bf7d commit 9970716

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pl/plpgsql/src/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ OBJS = pl_gram.o pl_handler.o pl_comp.o pl_exec.o \
2424

2525
DATA = plpgsql.control plpgsql--1.0.sql plpgsql--unpackaged--1.0.sql
2626

27+
REGRESS_OPTS = --dbname=$(PL_TESTDB)
28+
2729
REGRESS = plpgsql_call
2830

2931
all: all-lib
@@ -85,6 +87,7 @@ distprep: pl_gram.h pl_gram.c plerrcodes.h
8587
# so they are not cleaned here.
8688
clean distclean: clean-lib
8789
rm -f $(OBJS)
90+
rm -rf $(pg_regress_clean_files)
8891

89-
maintainer-clean: clean
92+
maintainer-clean: distclean
9093
rm -f pl_gram.c pl_gram.h plerrcodes.h

0 commit comments

Comments
 (0)