summaryrefslogtreecommitdiff
path: root/scripts/t
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-28 17:02:46 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 05:29:39 +0100
commitc9fd007bbe22d52bd490f815f58bd46a398d53ae (patch)
tree854ad1e27c3eb9b1fbf99c565229e30ff1cc32bb /scripts/t
parent062ee4500fc879735c5b453a8b9e7c6c3cd4be4a (diff)
downloaddpkg-c9fd007bbe22d52bd490f815f58bd46a398d53ae.tar.gz
Dpkg: Add new Dpkg::PROGMAKE variable to store GNU make command name
Diffstat (limited to 'scripts/t')
-rw-r--r--scripts/t/mk.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/t/mk.t b/scripts/t/mk.t
index a0453b0e7..90310bb06 100644
--- a/scripts/t/mk.t
+++ b/scripts/t/mk.t
@@ -19,6 +19,7 @@ use warnings;
use Test::More tests => 5;
use File::Spec::Functions qw(rel2abs);
+use Dpkg ();
use Dpkg::ErrorHandling;
use Dpkg::IPC;
use Dpkg::Vendor;
@@ -38,7 +39,7 @@ $ENV{DEB_BUILD_PATH} = rel2abs($datadir);
sub test_makefile {
my $makefile = shift;
- spawn(exec => [ 'make', '-C', $datadir, '-f', $makefile ],
+ spawn(exec => [ $Dpkg::PROGMAKE, '-C', $datadir, '-f', $makefile ],
wait_child => 1, nocheck => 1);
ok($? == 0, "makefile $makefile computes all values correctly");
}