Commit b9d5b069 authored by Chris Lamb's avatar Chris Lamb 💬

t/binaries.t: Don't make tests rely on Debian::Debhelper::Dh_Lib.

parent d1126e4a
......@@ -26,9 +26,12 @@ use Test::More;
my %BINARIES = (
'bin/strip-nondeterminism --help' => 0,
'bin/dh_strip_nondeterminism --help' => 1,
);
if (eval{require Debian::Debhelper::Dh_Lib}) {
$BINARIES{'bin/dh_strip_nondeterminism --help'} = 1;
}
plan tests => scalar keys %BINARIES;
foreach my $cmd (sort keys %BINARIES) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment