Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9c49684

Browse files
committed
doc: mention PROVE_TESTS in section of TAP tests.
Author: Michael Paquier Discussion: https://postgr.es/m/20180217140305.GB31338@paquier.xyz
1 parent a886090 commit 9c49684

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/src/sgml/regress.sgml

+11
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,17 @@ make -C src/bin check PROVE_FLAGS='--timer'
675675
See the manual page of <command>prove</command> for more information.
676676
</para>
677677

678+
<para>
679+
The <command>make</command> variable <varname>PROVE_TESTS</varname>
680+
can be used to define a whitespace-separated list of paths relative
681+
to the <filename>Makefile</filename> invoking <command>prove</command>
682+
to run the specified subset of tests instead of the default
683+
<filename>t/*.pl</filename>. For example:
684+
<programlisting>
685+
make check PROVE_TESTS='t/001_test1.pl t/003_test3.pl'
686+
</programlisting>
687+
</para>
688+
678689
<para>
679690
The TAP tests require the Perl module <literal>IPC::Run</literal>.
680691
This module is available from CPAN or an operating system package.

0 commit comments

Comments
 (0)