summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2007-06-12 17:49:12 +0000
committerMagnus Hagander2007-06-12 17:49:12 +0000
commit1c320b3828a77d804b90556132792913b8acad4b (patch)
tree79655a9217f58276ce2d2cf1a93ab7039d9ca58f
parentaefeaabf3ecc03200eb6b4401b8350e93ce2a5c5 (diff)
Update documentation of resultmap file format.
-rw-r--r--doc/src/sgml/regress.sgml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/regress.sgml b/doc/src/sgml/regress.sgml
index 988895be7a..f0588c6d9f 100644
--- a/doc/src/sgml/regress.sgml
+++ b/doc/src/sgml/regress.sgml
@@ -351,10 +351,13 @@ diff results/random.out expected/random.out
<para>
Each line in the mapping file is of the form
<synopsis>
-testname/platformpattern=comparisonfilename
+testname:output:platformpattern=comparisonfilename
</synopsis>
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
<literal>^</literal> anchor at the start). It is matched against the
platform name as printed by <command>config.guess</command>.
@@ -372,7 +375,7 @@ testname/platformpattern=comparisonfilename
<quote>failure</quote> message on <systemitem>OpenBSD</systemitem>
platforms, <filename>resultmap</filename> includes:
<programlisting>
-float8/i.86-.*-openbsd=float8-small-is-zero
+float8:out:i.86-.*-openbsd=float8-small-is-zero.out
</programlisting>
which will trigger on any machine for which the output of
<command>config.guess</command> matches <literal>i.86-.*-openbsd</literal>.