diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2015-04-23 08:59:52 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2015-04-23 08:59:52 -0400 |
commit | dcae5faccab64776376d354decda0017c648bb53 (patch) | |
tree | 360f7fa5028f97814f09941be7f45f3fc82761c1 /src/test/regress/pg_regress_main.c | |
parent | 50a16e30ebd76e70fc76abb2c8f0cd1e71deac41 (diff) | |
download | postgresql-dcae5faccab64776376d354decda0017c648bb53.tar.gz |
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>
Diffstat (limited to 'src/test/regress/pg_regress_main.c')
-rw-r--r-- | src/test/regress/pg_regress_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/pg_regress_main.c b/src/test/regress/pg_regress_main.c index a4039655cc..860431b24a 100644 --- a/src/test/regress/pg_regress_main.c +++ b/src/test/regress/pg_regress_main.c @@ -65,8 +65,8 @@ psql_start_test(const char *testname, snprintf(psql_cmd + offset, sizeof(psql_cmd) - offset, "\"%s%spsql\" -X -a -q -d \"%s\" < \"%s\" > \"%s\" 2>&1", - psqldir ? psqldir : "", - psqldir ? "/" : "", + bindir ? bindir : "", + bindir ? "/" : "", dblist->str, infile, outfile); |