Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
33.4. TAP Tests
Prev UpChapter 33. Regression TestsHome Next

33.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.

Themake variablePROVE_TESTS can be used to define a whitespace-separated list of paths relative to theMakefile invokingprove to run the specified subset of tests instead of the defaultt/*.pl. For example:

make check PROVE_TESTS='t/001_test1.pl t/003_test3.pl'

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.


Prev Up Next
33.3. Variant Comparison Files Home 33.5. Test Coverage Examination
epubpdf
Go to PostgreSQL 11
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp