X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=perl%2Ft%2F500-lib-load.t;h=7ce28c6e8c2e72ff5d974178769a1ebbf67f3fa2;hb=dc8e4b057ecd3984d7c27c8e;hp=140716955055dd82a2e09f0423ed80ab8fdf0cd9;hpb=1f65b900f0f17a700035dea9a76b910504f4507c;p=libguestfs.git diff --git a/perl/t/500-lib-load.t b/perl/t/500-lib-load.t index 1407169..7ce28c6 100644 --- a/perl/t/500-lib-load.t +++ b/perl/t/500-lib-load.t @@ -17,7 +17,18 @@ use strict; use warnings; -use Test::More tests => 1; + +BEGIN { + use Test::More; + + eval "use Locale::TextDomain";; + if (exists $INC{"Locale/TextDomain.pm"}) { + plan tests => 1; + } else { + plan skip_all => "no perl-libintl module"; + exit 0; + } +} use Sys::Guestfs; use Sys::Guestfs::Lib;