diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-10-15 13:09:29 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-10-15 13:09:29 -0300 |
commit | 2203ede9ae85b6423f850466122606275ea09b17 (patch) | |
tree | 2e55f5e45e6122bb4c672165f1de172ac16a927e /src | |
parent | b05fe7b442fd185b9705c537adb602b3b9d49518 (diff) | |
download | postgresql-2203ede9ae85b6423f850466122606275ea09b17.tar.gz postgresql-2203ede9ae85b6423f850466122606275ea09b17.zip |
Install pg_isolation_regress and isolationtester
We already install assorted tools for testing extensions, but these two
were missing. Having them installed, and after ISOLATION support was
added to PGXS's makefiles by d3c09b9b1307, helps third-party modules
usefully include isolation tests. Compare c3a0818460a8.
Author: Craig Ringer <craig.ringer@enterprisedb.com>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/CAMsr+YFsCMH3B4uOPFE+2qWM6k=o=hf9LGiPNCfwqKdUPz_BsQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/test/isolation/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/test/isolation/Makefile b/src/test/isolation/Makefile index da5e088bdde..d23e2cec640 100644 --- a/src/test/isolation/Makefile +++ b/src/test/isolation/Makefile @@ -18,12 +18,16 @@ OBJS = \ all: isolationtester$(X) pg_isolation_regress$(X) -# Though we don't install these binaries, build them during installation -# (including temp-install). Otherwise, "make -j check-world" and "make -j -# installcheck-world" would spawn multiple, concurrent builds in this -# directory. Later builds would overwrite files while earlier builds are -# reading them, causing occasional failures. -install: | all +install: all installdirs + $(INSTALL_PROGRAM) pg_isolation_regress$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_isolation_regress$(X)' + $(INSTALL_PROGRAM) isolationtester$(X) '$(DESTDIR)$(pgxsdir)/$(subdir)/isolationtester$(X)' + +installdirs: + $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(subdir)' + +uninstall: + rm -f '$(DESTDIR)$(pgxsdir)/$(subdir)/pg_isolation_regress$(X)' + rm -f '$(DESTDIR)$(pgxsdir)/$(subdir)/isolationtester$(X)' submake-regress: $(MAKE) -C $(top_builddir)/src/test/regress pg_regress.o |