This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=a71a4bceba236e4dcd511c24e7b43851180ab4a5 commit a71a4bceba236e4dcd511c24e7b43851180ab4a5 Author: Guillem Jover <[email protected]> AuthorDate: Wed Sep 26 15:10:51 2018 +0200 test: Make po checks cope with missing po files in CPAN distribution We do not distribute the PO files yet for CPAN, so the checks should not fail when they are missing, even when testing with AUTHOR_TESTING=1. --- scripts/Test/Dpkg.pm | 2 +- t/po.t | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/Test/Dpkg.pm b/scripts/Test/Dpkg.pm index c59296858..937f333ba 100644 --- a/scripts/Test/Dpkg.pm +++ b/scripts/Test/Dpkg.pm @@ -102,7 +102,7 @@ sub test_get_temp_path sub test_get_po_dirs { if ($test_mode eq 'cpan') { - return qw(po); + return qw(); } else { return qw(po scripts/po dselect/po man/po); } diff --git a/t/po.t b/t/po.t index 8f2b7a8b7..ce48395eb 100644 --- a/t/po.t +++ b/t/po.t @@ -25,6 +25,7 @@ test_needs_srcdir_switch(); my @files = Test::Dpkg::all_po_files(); +plan skip_all => 'no PO files distributed' if @files == 0; plan tests => scalar @files; sub po_ok { -- Dpkg.Org's dpkg

