diff options
| author | Peter Eisentraut | 2011-02-14 19:52:32 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2011-02-15 04:52:12 +0000 |
| commit | 2fd77060a2db814146cf1f6cf77755a4b4fd9a80 (patch) | |
| tree | d3dd4b4c0e81172478f46142f281b134283db1c8 /src/pl/plperl | |
| parent | 0d90dc16f87bd991d7eb9f536ca46acef7586d95 (diff) | |
Allow make check in PL directories
Also add make check-world target, and refactor pg_regress invocation
code in makefiles a bit.
Diffstat (limited to 'src/pl/plperl')
| -rw-r--r-- | src/pl/plperl/.gitignore | 2 | ||||
| -rw-r--r-- | src/pl/plperl/GNUmakefile | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/pl/plperl/.gitignore b/src/pl/plperl/.gitignore index c04f42ba07a..1a798733ac5 100644 --- a/src/pl/plperl/.gitignore +++ b/src/pl/plperl/.gitignore @@ -4,4 +4,6 @@ /plperl_opmask.h # Generated subdirectories +/log/ /results/ +/tmp_check/ diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 85cf9a8f930..01e585e4280 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -76,8 +76,11 @@ installdirs: installdirs-lib uninstall: uninstall-lib +check: submake + $(pg_regress_check) $(REGRESS_OPTS) $(REGRESS) + installcheck: submake - $(top_builddir)/src/test/regress/pg_regress --inputdir=$(srcdir) --psqldir=$(PSQLDIR) $(REGRESS_OPTS) $(REGRESS) + $(pg_regress_installcheck) $(REGRESS_OPTS) $(REGRESS) .PHONY: submake submake: @@ -85,8 +88,7 @@ submake: clean distclean maintainer-clean: clean-lib rm -f SPI.c Util.c $(OBJS) perlchunks.h plperl_opmask.h - rm -rf results - rm -f regression.diffs regression.out + rm -rf $(pg_regress_clean_files) else # can't build |
