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

Commit 1ad08a8

Browse files
committed
Update documentation of resultmap file format.
1 parent 152133b commit 1ad08a8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/src/sgml/regress.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.57 2007/02/01 00:28:17 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/regress.sgml,v 1.58 2007/06/12 17:49:12 mha Exp $ -->
22

33
<chapter id="regress">
44
<title id="regress-title">Regression Tests</title>
@@ -351,10 +351,13 @@ diff results/random.out expected/random.out
351351
<para>
352352
Each line in the mapping file is of the form
353353
<synopsis>
354-
testname/platformpattern=comparisonfilename
354+
testname:output:platformpattern=comparisonfilename
355355
</synopsis>
356356
The test name is just the name of the particular regression test
357-
module. The platform pattern is a pattern in the style of the Unix
357+
module. The output value indicates which output file to check. For the
358+
standard regression tests, this is always <literal>out</literal>. The
359+
value corresponds to the file extension of the output file.
360+
The platform pattern is a pattern in the style of the Unix
358361
tool <command>expr</> (that is, a regular expression with an implicit
359362
<literal>^</literal> anchor at the start). It is matched against the
360363
platform name as printed by <command>config.guess</command>.
@@ -372,7 +375,7 @@ testname/platformpattern=comparisonfilename
372375
<quote>failure</quote> message on <systemitem>OpenBSD</systemitem>
373376
platforms, <filename>resultmap</filename> includes:
374377
<programlisting>
375-
float8/i.86-.*-openbsd=float8-small-is-zero
378+
float8:out:i.86-.*-openbsd=float8-small-is-zero.out
376379
</programlisting>
377380
which will trigger on any machine for which the output of
378381
<command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.

0 commit comments

Comments
 (0)