summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Test/Dpkg.pm2
-rw-r--r--t/po.t1
2 files changed, 2 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);
}
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 {