summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-11-21 09:20:08 -0500
committerAndrew Dunstan <andrew@dunslane.net>2015-11-21 09:20:08 -0500
commitb29a40fea78ec003146f1aa57aa60413cd560c45 (patch)
tree01aed0f8b78fbf1914f11151891cca47cc554dc8 /src
parent47ea4614e94d459817063cf922f88a615f8cee76 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/vcregress.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 5bc8dbc7fc5..a5fbb55d2b4 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -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