This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
commit e92108eac0c3acb33758bd5bdf1f0d25f1ee498e Author: Guillem Jover <guil...@debian.org> Date: Tue Oct 17 04:07:19 2017 +0200 scripts/t: Skip Dpkg::OpenPGP test if gpg is not present --- debian/changelog | 3 ++- scripts/t/Dpkg_OpenPGP.t | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index c37325c..7d8bb33 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ dpkg (1.19.1) UNRELEASED; urgency=medium - * + * Test suite: + - Skip Dpkg::OpenPGP test if gpg is not present. -- Guillem Jover <guil...@debian.org> Tue, 17 Oct 2017 03:10:41 +0200 diff --git a/scripts/t/Dpkg_OpenPGP.t b/scripts/t/Dpkg_OpenPGP.t index ee78da6..84b8401 100644 --- a/scripts/t/Dpkg_OpenPGP.t +++ b/scripts/t/Dpkg_OpenPGP.t @@ -16,16 +16,18 @@ use strict; use warnings; -use Test::More tests => 3; -use Test::Dpkg qw(:paths); +use Test::More; +use Test::Dpkg qw(:paths :needs); use File::Compare; use Dpkg::ErrorHandling; -BEGIN { - use_ok('Dpkg::OpenPGP'); -} +test_needs_command('gpg'); + +plan tests => 3; + +use_ok('Dpkg::OpenPGP'); report_options(quiet_warnings => 1); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/dpkg/dpkg.git