Commit 11391685 authored by Tom Lane's avatar Tom Lane

Tweak resultmap documentation, add to README too.

parent 0e9ba445
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.13 2000/11/21 23:40:27 petere Exp $ -->
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.14 2000/11/22 00:58:47 tgl Exp $ -->
<chapter id="regress">
<title id="regress-title">Regression Tests</title>
......@@ -289,13 +289,14 @@ diff results/random.out expected/random.out
<para>
Each line in the mapping file is of the form
<synopsis>
testname/platformnamepattern=comparisonfilename
testname/platformpattern=comparisonfilename
</synopsis>
The test name is just the name of the particular regression test
module. The platform name pattern is a pattern in the style of
expr(1) (that is, a regular expression with an implicit ^ anchor
module. The platform pattern is a pattern in the style of
expr(1) (that is, a regular expression with an implicit
<literal>^</literal> anchor
at the start). It is matched against the platform name as printed
by <filename>config.guess</filename> with an appended
by <filename>config.guess</filename> 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
......
......@@ -193,14 +193,16 @@ mapping file, which is "resultmap".
Each line in the mapping file is of the form
testname/platformnamepattern=comparisonfilename
testname/platformpattern=comparisonfilename
The test name is just the name of the particular regression test
module. The platform name pattern is a pattern in the style of expr(1)
(that is, a regular expression with an implicit ^ anchor at the
start). It is matched against the platform name as printed by
config.guess. The comparison file name is the name of the substitute
result comparison file.
module. The platform pattern is a pattern in the style of expr(1)
(that is, a regular expression with an implicit ^ anchor at the start).
It is matched against the platform name as printed by config.guess
followed by ":gcc" or ":cc", 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 name of the substitute result comparison
file.
For example: the int2 regress test includes a deliberate entry of a
value that is too large to fit in int2. The specific error message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment