Improve speed of make check-world
Peter Eisentraut <peter_e@gmx.net>
Improve speed of make check-world Before, make check-world would create a new temporary installation for each test suite, which is slow and wasteful. Instead, we now create one test installation that is used by all test suites that are part of a make run. The management of the temporary installation is removed from pg_regress and handled in the makefiles. This allows for better control, and unifies the code with that of test suites not run through pg_regress. review and msvc support by Michael Paquier <michael.paquier@gmail.com> more review by Fabien Coelho <coelho@cri.ensmp.fr>
Files
| Path | Change | +/− |
|---|---|---|
| contrib/earthdistance/Makefile | modified | +1 −1 |
| contrib/test_decoding/Makefile | modified | +7 −9 |
| .gitignore | modified | +1 −0 |
| GNUmakefile.in | modified | +1 −0 |
| src/bin/pg_upgrade/test.sh | modified | +1 −1 |
| src/interfaces/ecpg/test/Makefile | modified | +3 −7 |
| src/Makefile.global.in | modified | +22 −8 |
| src/makefiles/pgxs.mk | modified | +3 −4 |
| src/pl/plperl/GNUmakefile | modified | +0 −2 |
| src/pl/plpython/Makefile | modified | +0 −3 |
| src/pl/tcl/Makefile | modified | +0 −2 |
| src/test/isolation/Makefile | modified | +6 −9 |
| src/test/regress/GNUmakefile | modified | +0 −4 |
| src/test/regress/pg_regress.c | modified | +56 −178 |
| src/test/regress/pg_regress.h | modified | +0 −6 |
| src/test/regress/pg_regress_main.c | modified | +2 −2 |
| src/tools/msvc/vcregress.pl | modified | +42 −25 |