Skip to content

Commit b30aa6e

Browse files
committed
Slight mods to explain (or try to) the new regression tests
1 parent c56b20e commit b30aa6e

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

src/test/regress/README

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,23 @@ Preparation
1515
'expected.out' file. The localization replaces macros in the source
1616
files with absolute pathnames and user names.
1717

18-
The 'expected.input' file and the 'sample.regress.out' file
18+
Directory Layout
1919

20-
The 'expected.input' file was created on a SPARC Solaris 2.4 system
21-
using the 'postgres5-1.02a5.tar.gz' source tree. It has been compared
22-
with a file created on an I386 Solaris 2.4 system and the differences
23-
are only in the floating point polygons in the 3rd digit to the right
24-
of the decimal point. (see below)
20+
input/ .... .source files that are converted using 'make all' into
21+
.sql files in the 'sql' subdirectory
2522

26-
The 'sample.regress.out' file is from the postgres-1.01 release
27-
constructed by Jolly Chen and is included here for reference. It may
28-
have been created on a DEC ALPHA machine as the 'Makefile.global'
29-
in the postgres-1.01 release has PORTNAME=alpha.
23+
output/ ... .source files that are converted using 'make all' into
24+
.out files in the 'expected' subdirectory
3025

31-
Running the regression test
26+
sql/ ...... .sql files used to perform the regression tests
27+
28+
expected/ . .out files that represent what we *expect* the results to
29+
look like
3230

33-
Change directory to the regression test directory:
31+
results/ .. .out files that represent what the results *actually* look
32+
like
3433

35-
cd ...../src/test/regress
34+
Running the regression test
3635

3736
If you have prevously invoked the regression test, clean up the
3837
working directory with:
@@ -43,9 +42,9 @@ Running the regression test
4342

4443
make all runtest
4544

46-
Normally, the regression test should be run as the 'postgres' user as the
45+
Normally, the regression test should be run as the pg_superuser as the
4746
'src/test/regress' directory and sub-directories are owned by the
48-
'postgres' user. If you run the regression test as another user the
47+
pg_superuser. If you run the regression test as another user the
4948
'src/test/regress' directory should be writeable to that user.
5049

5150
Comparing expected/actual output
@@ -118,4 +117,18 @@ DATE/TIME differences
118117
entries that use the time -infinity display with year 1970 plus/minus the
119118
number of hours you are different from GMT.
120119

120+
--------[ old stuff that needs to be rewritten ]-----
121+
122+
The 'expected.input' file and the 'sample.regress.out' file
123+
124+
The 'expected.input' file was created on a SPARC Solaris 2.4 system
125+
using the 'postgres5-1.02a5.tar.gz' source tree. It has been compared
126+
with a file created on an I386 Solaris 2.4 system and the differences
127+
are only in the floating point polygons in the 3rd digit to the right
128+
of the decimal point. (see below)
129+
130+
The 'sample.regress.out' file is from the postgres-1.01 release
131+
constructed by Jolly Chen and is included here for reference. It may
132+
have been created on a DEC ALPHA machine as the 'Makefile.global'
133+
in the postgres-1.01 release has PORTNAME=alpha.
121134

0 commit comments

Comments
 (0)