Skip to content

Commit b29a40f

Browse files
committed
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.
1 parent 47ea461 commit b29a40f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tools/msvc/vcregress.pl

+7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
chdir "../../.." if (-d "../../../src/tools/msvc");
1919

2020
my $topdir = getcwd();
21+
my $tmp_installdir = "$topdir/tmp_install";
2122

2223
require 'src/tools/msvc/config_default.pl';
2324
require 'src/tools/msvc/config.pl' if (-f 'src/tools/msvc/config.pl');
@@ -465,6 +466,12 @@ sub GetTests
465466
return "";
466467
}
467468

469+
sub InstallTemp
470+
{
471+
print "Setting up temp install\n\n";
472+
Install("$tmp_installdir", "all", $config);
473+
}
474+
468475
sub usage
469476
{
470477
print STDERR

0 commit comments

Comments
 (0)