Skip to content

Commit e2c78e7

Browse files
committed
Doc: make src/test/*/README match current reality.
Commit c3382a3, which moved the implementation of PG_TEST_EXTRA from src/test/Makefile into individual test scripts, broke the directions given in the subdirectory README files about how to run these tests by hand. Update. Also mention wal_consistency_checking in recovery/README --- that omission isn't the fault of c3382a3, but it's still an omission.
1 parent 2cbbfff commit e2c78e7

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

src/test/kerberos/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Running the tests
2121
NOTE: You must have given the --enable-tap-tests argument to configure.
2222

2323
Run
24-
make check
24+
make check PG_TEST_EXTRA=kerberos
2525
or
26-
make installcheck
26+
make installcheck PG_TEST_EXTRA=kerberos
2727
You can use "make installcheck" if you previously did "make install".
2828
In that case, the code in the installation tree is tested. With
2929
"make check", a temporary installation tree is built from the current

src/test/ldap/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Running the tests
2020
NOTE: You must have given the --enable-tap-tests argument to configure.
2121

2222
Run
23-
make check
23+
make check PG_TEST_EXTRA=ldap
2424
or
25-
make installcheck
25+
make installcheck PG_TEST_EXTRA=ldap
2626
You can use "make installcheck" if you previously did "make install".
2727
In that case, the code in the installation tree is tested. With
2828
"make check", a temporary installation tree is built from the current

src/test/recovery/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ sources and then tested.
2424
Either way, this test initializes, starts, and stops several test Postgres
2525
clusters.
2626

27+
If you want to test WAL consistency checking, add
28+
PG_TEST_EXTRA=wal_consistency_checking
29+
to the "make" command. This is resource-intensive, so it's not done
30+
by default.
31+
2732
See src/test/perl/README for more info about running these tests.

src/test/ssl/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Also, to use "make installcheck", you must have built and installed
2020
contrib/sslinfo in addition to the core code.
2121

2222
Run
23-
make check
23+
make check PG_TEST_EXTRA=ssl
2424
or
25-
make installcheck
25+
make installcheck PG_TEST_EXTRA=ssl
2626
You can use "make installcheck" if you previously did "make install".
2727
In that case, the code in the installation tree is tested. With
2828
"make check", a temporary installation tree is built from the current

0 commit comments

Comments
 (0)