OSDN Git Service

Tweak resultmap documentation, add to README too.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 22 Nov 2000 00:58:47 +0000 (00:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 22 Nov 2000 00:58:47 +0000 (00:58 +0000)
doc/src/sgml/regress.sgml
src/test/regress/README

index 239250a..3f3d16f 100644 (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
index ced6bb9..7cfe65b 100644 (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