diff options
-rw-r--r-- | scripts/Test/Dpkg.pm | 2 | ||||
-rw-r--r-- | t/po.t | 1 |
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); } @@ -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 { |