Tweak resultmap documentation, add to README too.

This commit is contained in:
Tom Lane 2000-11-22 00:58:47 +00:00
parent 0e9ba44506
commit 11391685d1
2 changed files with 14 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<!-- $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

View 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