mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Add vcregress.pl target for checking pg_upgrade.
This follows recent addition of Windows/Mingw testing. Backpatch to Release 9.2 so we can get some buildfarm testing going.
This commit is contained in:
@ -37,9 +37,16 @@ sub Install
|
||||
$| = 1;
|
||||
|
||||
my $target = shift;
|
||||
our $config;
|
||||
require "config_default.pl";
|
||||
require "config.pl" if (-f "config.pl");
|
||||
# if called from vcregress, the config will be passed to us
|
||||
# so no need to re-include these
|
||||
our $config = shift;
|
||||
unless ($config)
|
||||
{
|
||||
# suppress warning about harmless redeclaration of $config
|
||||
no warnings 'misc';
|
||||
require "config_default.pl";
|
||||
require "config.pl" if (-f "config.pl");
|
||||
}
|
||||
|
||||
chdir("../../..") if (-f "../../../configure");
|
||||
chdir("../../../..") if (-f "../../../../configure");
|
||||
|
Reference in New Issue
Block a user