mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Update documentation of resultmap file format.
This commit is contained in:
parent
152133bfaf
commit
1ad08a8e9a
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.57 2007/02/01 00:28:17 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.58 2007/06/12 17:49:12 mha Exp $ -->
|
||||||
|
|
||||||
<chapter id="regress">
|
<chapter id="regress">
|
||||||
<title id="regress-title">Regression Tests</title>
|
<title id="regress-title">Regression Tests</title>
|
||||||
@ -351,10 +351,13 @@ diff results/random.out expected/random.out
|
|||||||
<para>
|
<para>
|
||||||
Each line in the mapping file is of the form
|
Each line in the mapping file is of the form
|
||||||
<synopsis>
|
<synopsis>
|
||||||
testname/platformpattern=comparisonfilename
|
testname:output:platformpattern=comparisonfilename
|
||||||
</synopsis>
|
</synopsis>
|
||||||
The test name is just the name of the particular regression test
|
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
|
module. The output value indicates which output file to check. For the
|
||||||
|
standard regression tests, this is always <literal>out</literal>. The
|
||||||
|
value corresponds to the file extension of the output file.
|
||||||
|
The platform pattern is a pattern in the style of the Unix
|
||||||
tool <command>expr</> (that is, a regular expression with an implicit
|
tool <command>expr</> (that is, a regular expression with an implicit
|
||||||
<literal>^</literal> anchor at the start). It is matched against the
|
<literal>^</literal> anchor at the start). It is matched against the
|
||||||
platform name as printed by <command>config.guess</command>.
|
platform name as printed by <command>config.guess</command>.
|
||||||
@ -372,7 +375,7 @@ testname/platformpattern=comparisonfilename
|
|||||||
<quote>failure</quote> message on <systemitem>OpenBSD</systemitem>
|
<quote>failure</quote> message on <systemitem>OpenBSD</systemitem>
|
||||||
platforms, <filename>resultmap</filename> includes:
|
platforms, <filename>resultmap</filename> includes:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
float8/i.86-.*-openbsd=float8-small-is-zero
|
float8:out:i.86-.*-openbsd=float8-small-is-zero.out
|
||||||
</programlisting>
|
</programlisting>
|
||||||
which will trigger on any machine for which the output of
|
which will trigger on any machine for which the output of
|
||||||
<command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.
|
<command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user