aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-03-01 01:50:27 -0800
committerAndres Freund <andres@anarazel.de>2018-03-01 01:50:27 -0800
commit9c4968469abe01a030307f49837fa2cf51fcdb4b (patch)
tree8aa3652952632bf3a490d46db31a93a51bf05beb
parenta88609089ab84fc9f2a925bee31ec2e0c776d166 (diff)
downloadpostgresql-9c4968469abe01a030307f49837fa2cf51fcdb4b.tar.gz
postgresql-9c4968469abe01a030307f49837fa2cf51fcdb4b.zip
doc: mention PROVE_TESTS in section of TAP tests.
Author: Michael Paquier Discussion: https://postgr.es/m/20180217140305.GB31338@paquier.xyz
-rw-r--r--doc/src/sgml/regress.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index 53716a029fa..ca2716a6d7a 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -676,6 +676,17 @@ make -C src/bin check PROVE_FLAGS='--timer'
</para>
<para>
+ The <command>make</command> variable <varname>PROVE_TESTS</varname>
+ can be used to define a whitespace-separated list of paths relative
+ to the <filename>Makefile</filename> invoking <command>prove</command>
+ to run the specified subset of tests instead of the default
+ <filename>t/*.pl</filename>. For example:
+<programlisting>
+make check PROVE_TESTS='t/001_test1.pl t/003_test3.pl'
+</programlisting>
+ </para>
+
+ <para>
The TAP tests require the Perl module <literal>IPC::Run</literal>.
This module is available from CPAN or an operating system package.
</para>