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 $ -->
2
2
3
3
<chapter id="regress">
4
4
<title id="regress-title">Regression Tests</title>
@@ -351,10 +351,13 @@ diff results/random.out expected/random.out
351
351
<para>
352
352
Each line in the mapping file is of the form
353
353
<synopsis>
354
- testname/ platformpattern=comparisonfilename
354
+ testname:output: platformpattern=comparisonfilename
355
355
</synopsis>
356
356
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
358
361
tool <command>expr</> (that is, a regular expression with an implicit
359
362
<literal>^</literal> anchor at the start). It is matched against the
360
363
platform name as printed by <command>config.guess</command>.
@@ -372,7 +375,7 @@ testname/platformpattern=comparisonfilename
372
375
<quote>failure</quote> message on <systemitem>OpenBSD</systemitem>
373
376
platforms, <filename>resultmap</filename> includes:
374
377
<programlisting>
375
- float8/ i.86-.*-openbsd=float8-small-is-zero
378
+ float8:out: i.86-.*-openbsd=float8-small-is-zero.out
376
379
</programlisting>
377
380
which will trigger on any machine for which the output of
378
381
<command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.
0 commit comments