]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix not-quite-right Makefile for src/test/modules/test_checksums.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 21 Apr 2026 22:29:24 +0000 (18:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 21 Apr 2026 22:29:36 +0000 (18:29 -0400)
This neglected to set TAP_TESTS = 1, and partially compensated
for that by writing duplicative hand-made rules for check and
installcheck.  That's not really sufficient though.  The way
I noticed the error was that "make distclean" didn't clean out
the tmp_check subdirectory, and there might be other consequences.
Do it the standard way instead.

src/test/modules/test_checksums/Makefile

index fa85b79ae5799ea80ac2974a516848bc0e8307f9..71455cd55772125851d0ef9b8b8464ac342687dd 100644 (file)
@@ -22,6 +22,8 @@ PGFILEDESC = "test_checksums - test code for data checksums"
 EXTENSION = test_checksums
 DATA = test_checksums--1.0.sql
 
+TAP_TESTS = 1
+
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -32,9 +34,3 @@ top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 include $(top_srcdir)/contrib/contrib-global.mk
 endif
-
-check:
-       $(prove_check)
-
-installcheck:
-       $(prove_installcheck)