mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fix vcregress.pl's bincheck
We didn't have InstallTemp() in 9.4, that was implemented in 9.5, but it's used by the new bincheck code, so add it for 9.4.
This commit is contained in:
@ -18,6 +18,7 @@ my $startdir = getcwd();
|
||||
chdir "../../.." if (-d "../../../src/tools/msvc");
|
||||
|
||||
my $topdir = getcwd();
|
||||
my $tmp_installdir = "$topdir/tmp_install";
|
||||
|
||||
require 'src/tools/msvc/config_default.pl';
|
||||
require 'src/tools/msvc/config.pl' if (-f 'src/tools/msvc/config.pl');
|
||||
@ -465,6 +466,12 @@ sub GetTests
|
||||
return "";
|
||||
}
|
||||
|
||||
sub InstallTemp
|
||||
{
|
||||
print "Setting up temp install\n\n";
|
||||
Install("$tmp_installdir", "all", $config);
|
||||
}
|
||||
|
||||
sub usage
|
||||
{
|
||||
print STDERR
|
||||
|
Reference in New Issue
Block a user