Skip to content

Commit 58f5749

Browse files
committed
Doc: add note about how to run the pg_amcheck regression tests.
It's not immediately obvious what you have to do to get "make installcheck" to work here, so document that along the same lines as we've used elsewhere.
1 parent 945d2cb commit 58f5749

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/bin/pg_amcheck/README

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
src/bin/pg_amcheck/README
2+
3+
pg_amcheck is a command-line tool for running the amcheck extension.
4+
5+
Running the regression tests
6+
============================
7+
8+
NOTE: You must have given the --enable-tap-tests argument to configure.
9+
Also, to use "make installcheck", you must have built and installed
10+
contrib/amcheck and contrib/pageinspect in addition to the core code.
11+
12+
Run
13+
make check
14+
or
15+
make installcheck
16+
You can use "make installcheck" if you previously did "make install".
17+
In that case, the code in the installation tree is tested. With
18+
"make check", a temporary installation tree is built from the current
19+
sources and then tested.

0 commit comments

Comments
 (0)