From: Tom Lane Date: Tue, 21 Apr 2026 22:29:24 +0000 (-0400) Subject: Fix not-quite-right Makefile for src/test/modules/test_checksums. X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=64b2b4212486406771089aff7ba015c650334f66;p=thirdparty%2Fpostgresql.git Fix not-quite-right Makefile for src/test/modules/test_checksums. 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. --- diff --git a/src/test/modules/test_checksums/Makefile b/src/test/modules/test_checksums/Makefile index fa85b79ae57..71455cd5577 100644 --- a/src/test/modules/test_checksums/Makefile +++ b/src/test/modules/test_checksums/Makefile @@ -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)