pgsql: Improve speed of make check-world

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve speed of make check-world
Date: 2015-04-23 14:11:36
Message-ID: E1YlHqq-000714-QG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)paquier(at)gmail(dot)com>

more review by Fabien Coelho <coelho(at)cri(dot)ensmp(dot)fr>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dcae5faccab64776376d354decda0017c648bb53

Modified Files
--------------
.gitignore | 1 +
GNUmakefile.in | 1 +
contrib/earthdistance/Makefile | 2 +-
contrib/test_decoding/Makefile | 16 ++-
src/Makefile.global.in | 30 +++--
src/bin/pg_upgrade/test.sh | 2 +-
src/interfaces/ecpg/test/Makefile | 10 +-
src/makefiles/pgxs.mk | 7 +-
src/pl/plperl/GNUmakefile | 2 -
src/pl/plpython/Makefile | 3 -
src/pl/tcl/Makefile | 2 -
src/test/isolation/Makefile | 15 +--
src/test/regress/GNUmakefile | 4 -
src/test/regress/pg_regress.c | 234 +++++++++---------------------------
src/test/regress/pg_regress.h | 6 -
src/test/regress/pg_regress_main.c | 4 +-
src/tools/msvc/vcregress.pl | 67 +++++++----
17 files changed, 145 insertions(+), 261 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2015-04-23 17:10:35 pgsql: Fix shell error on Solaris
Previous Message Michael Paquier 2015-04-23 04:38:16 Re: pgsql: Make the pg_rewind regression tests more robust on slow systems.