X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=perl%2Ft%2F500-lib-load.t;h=7ce28c6e8c2e72ff5d974178769a1ebbf67f3fa2;hp=140716955055dd82a2e09f0423ed80ab8fdf0cd9;hb=bf0280bf589573c11529999a73e9ec642dea9d61;hpb=1f65b900f0f17a700035dea9a76b910504f4507c 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;