Browse files

Use configured make rather than hardcoded in upgrade testing.

Per complaint from Christian Ullrich.
  • Loading branch information...
1 parent d34e18c commit 1fedb004dee6680d75f8c96b3b61751711a4f219 @adunstan adunstan committed Dec 4, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 PGBuild/Modules/TestUpgrade.pm
View
4 PGBuild/Modules/TestUpgrade.pm
@@ -61,6 +61,8 @@ sub check
print main::time_str(), "checking pg_upgrade\n" if $verbose;
+ my $make = $self->{bfconf}->{make};
+
my @checklog;
if ($self->{bfconf}->{using_msvc})
@@ -71,7 +73,7 @@ sub check
}
else
{
- my $cmd = "cd $self->{pgsql}/contrib/pg_upgrade && make check";
+ my $cmd = "cd $self->{pgsql}/contrib/pg_upgrade && $make check";
@checklog = `$cmd 2>&1`;
}

0 comments on commit 1fedb00

Please sign in to comment.