Tweak resultmap documentation, add to README too.
This commit is contained in:
parent
0e9ba44506
commit
11391685d1
|
@ -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">
|
<chapter id="regress">
|
||||||
<title id="regress-title">Regression Tests</title>
|
<title id="regress-title">Regression Tests</title>
|
||||||
|
@ -289,13 +289,14 @@ diff results/random.out expected/random.out
|
||||||
<para>
|
<para>
|
||||||
Each line in the mapping file is of the form
|
Each line in the mapping file is of the form
|
||||||
<synopsis>
|
<synopsis>
|
||||||
testname/platformnamepattern=comparisonfilename
|
testname/platformpattern=comparisonfilename
|
||||||
</synopsis>
|
</synopsis>
|
||||||
The test name is just the name of the particular regression test
|
The test name is just the name of the particular regression test
|
||||||
module. The platform name pattern is a pattern in the style of
|
module. The platform pattern is a pattern in the style of
|
||||||
expr(1) (that is, a regular expression with an implicit ^ anchor
|
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
|
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
|
<literal>:gcc</literal> or <literal>:cc</literal>, depending on
|
||||||
whether you use the GNU compiler or the system's native compiler
|
whether you use the GNU compiler or the system's native compiler
|
||||||
(on systems where there is a difference). The comparison file
|
(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
|
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
|
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)
|
module. The platform pattern is a pattern in the style of expr(1)
|
||||||
(that is, a regular expression with an implicit ^ anchor at the
|
(that is, a regular expression with an implicit ^ anchor at the start).
|
||||||
start). It is matched against the platform name as printed by
|
It is matched against the platform name as printed by config.guess
|
||||||
config.guess. The comparison file name is the name of the substitute
|
followed by ":gcc" or ":cc", depending on whether you use the GNU compiler
|
||||||
result comparison file.
|
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
|
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
|
value that is too large to fit in int2. The specific error message
|
||||||
|
|
Loading…
Reference in New Issue