summaryrefslogtreecommitdiff
path: root/scripts/Test
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-09-26 15:10:51 +0200
committerGuillem Jover <guillem@debian.org>2018-09-26 19:35:07 +0200
commita71a4bceba236e4dcd511c24e7b43851180ab4a5 (patch)
tree7e6fb3b23cb9c1bf0807800be7b350e282c9a857 /scripts/Test
parent66f18c3b3695fb2b9cea847aaa419b588c676f7e (diff)
downloaddpkg-a71a4bceba236e4dcd511c24e7b43851180ab4a5.tar.gz
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.
Diffstat (limited to 'scripts/Test')
-rw-r--r--scripts/Test/Dpkg.pm2
1 files changed, 1 insertions, 1 deletions
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);
}