Re: Test 041_checkpoint_at_promote.pl faild in installcheck due to missing injection_points

Maxim Orlov <orlovmg@gmail.com>

From: Maxim Orlov <orlovmg@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Michael Paquier <michael@paquier.xyz>
Date: 2024-08-20T07:29:42Z
Lists: pgsql-hackers
On Mon, 19 Aug 2024 at 19:10, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> src/test/recovery/README points out that
>
>   Also, to use "make installcheck", you must have built and installed
>   contrib/pg_prewarm, contrib/pg_stat_statements and contrib/test_decoding
>   in addition to the core code.
>
> I suspect this needs some additional verbiage about also installing
> src/test/modules/injection_points if you've enabled injection points.
>
> (I think we haven't noticed because most people just use "make check"
> instead.)
>

OK, many thanks for a comprehensive explanation!

-- 
Best regards,
Maxim Orlov.

Commits

  1. Check availability of module injection_points in TAP tests

  2. Avoid installcheck failure in TAP tests using injection_points

  3. Simplify makefiles exporting twice enable_injection_points