32.4. TAP Tests
Various tests, particularly the client program tests undersrc/bin
, use the Perl TAP tools and are run using the Perl testing programprove
. You can pass command-line options toprove
by setting themake
variablePROVE_FLAGS
, for example:
make -C src/bin check PROVE_FLAGS='--timer'
See the manual page ofprove
for more information.
The TAP tests require the Perl moduleIPC::Run
. This module is available from CPAN or an operating system package. They also requirePostgreSQL to be configured with the option--enable-tap-tests
.