From 7d0f493f19607774fdccb1a1ea06fdd96a3d9698 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 14 Apr 2014 21:33:46 -0400 Subject: Add TAP tests for client programs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Pavel Stěhule Reviewed-by: Erik Rijkers --- doc/src/sgml/installation.sgml | 3 ++- doc/src/sgml/regress.sgml | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index efaaad80b40..32160bf33f2 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -333,7 +333,8 @@ su - postgres Perl 5.8 or later is needed to build from a Git checkout, or if you changed the input files for any of the build steps that use Perl scripts. If building on Windows you will need - Perl in any case. + Perl in any case. Perl is + also required to run some test suites. diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml index 16b36211f3d..aee049a3d5a 100644 --- a/doc/src/sgml/regress.sgml +++ b/doc/src/sgml/regress.sgml @@ -204,6 +204,12 @@ make installcheck-world located in src/test/isolation. + + + Tests of client programs under src/bin. See + also . + + @@ -660,6 +666,28 @@ float8:out:i.86-.*-openbsd=float8-small-is-zero.out + + TAP Tests + + + The client program tests under src/bin use the Perl + TAP tools and are run by prove. You can pass + command-line options to prove by setting + the make variable PROVE_FLAGS, for example: + +make -C src/bin check PROVE_FLAGS='--reverse' + + The default is --verbose. See the manual page + of prove for more information. + + + + The tests written in Perl require the Perl + module IPC::Run, otherwise most tests will be skipped. + This module is available from CPAN or an operating system package. + + + Test Coverage Examination -- cgit v1.2.3