From: Tom Lane Date: Sat, 13 Mar 2021 15:51:27 +0000 (-0500) Subject: Doc: add note about how to run the pg_amcheck regression tests. X-Git-Tag: REL_14_BETA1~570 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58f57490facdec78119e5bab84229dbdc1d5ac6a;p=thirdparty%2Fpostgresql.git 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. --- diff --git a/src/bin/pg_amcheck/README b/src/bin/pg_amcheck/README new file mode 100644 index 00000000000..950f8a73667 --- /dev/null +++ b/src/bin/pg_amcheck/README @@ -0,0 +1,19 @@ +src/bin/pg_amcheck/README + +pg_amcheck is a command-line tool for running the amcheck extension. + +Running the regression tests +============================ + +NOTE: You must have given the --enable-tap-tests argument to configure. +Also, to use "make installcheck", you must have built and installed +contrib/amcheck and contrib/pageinspect in addition to the core code. + +Run + make check +or + make installcheck +You can use "make installcheck" if you previously did "make install". +In that case, the code in the installation tree is tested. With +"make check", a temporary installation tree is built from the current +sources and then tested.