mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Rewrite pg_regress as a C program instead of a shell script.
This allows it to be used on Windows without installing mingw (though you do still need 'diff'), and opens the door to future improvements such as message localization. Magnus Hagander and Tom Lane.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.52 2006/06/18 15:38:36 petere Exp $ -->
|
||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.53 2006/07/19 02:37:00 tgl Exp $ -->
|
||||
|
||||
<chapter id="regress">
|
||||
<title id="regress-title">Regression Tests</title>
|
||||
@ -110,19 +110,6 @@ gmake MAX_CONNECTIONS=10 check
|
||||
runs no more than ten tests concurrently.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
On some systems, the default Bourne-compatible shell
|
||||
(<filename>/bin/sh</filename>) gets confused when it has to manage
|
||||
too many child processes in parallel. This may cause the parallel
|
||||
test run to lock up or fail. In such cases, specify a different
|
||||
Bourne-compatible shell on the command line, for example:
|
||||
<screen>
|
||||
gmake SHELL=/bin/ksh check
|
||||
</screen>
|
||||
If no non-broken shell is available, you may be able to work around the
|
||||
problem by limiting the number of connections, as shown above.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
To run the tests after installation<![%standalone-ignore;[ (see <xref linkend="installation">)]]>,
|
||||
initialize a data area and start the
|
||||
@ -370,13 +357,10 @@ testname/platformpattern=comparisonfilename
|
||||
The test name is just the name of the particular regression test
|
||||
module. The platform pattern is a pattern in the style of the Unix
|
||||
tool <command>expr</> (that is, a regular expression with an implicit
|
||||
<literal>^</literal> anchor
|
||||
at the start). It is matched against the platform name as printed
|
||||
by <command>config.guess</command> followed by
|
||||
<literal>:gcc</literal> or <literal>:cc</literal>, depending on
|
||||
whether you use the GNU compiler or the system's native compiler
|
||||
(on systems where there is a difference). The comparison file
|
||||
name is the base name of the substitute result comparison file.
|
||||
<literal>^</literal> anchor at the start). It is matched against the
|
||||
platform name as printed by <command>config.guess</command>.
|
||||
The comparison file name is the base name of the substitute result
|
||||
comparison file.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Reference in New Issue
Block a user