git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid build-from-scratch failure due to missing daemon/configure
[libguestfs.git]
/
perl
/
t
/
500-lib-load.t
diff --git
a/perl/t/500-lib-load.t
b/perl/t/500-lib-load.t
index
1407169
..
7ce28c6
100644
(file)
--- a/
perl/t/500-lib-load.t
+++ b/
perl/t/500-lib-load.t
@@
-17,7
+17,18
@@
use strict;
use warnings;
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;
use Sys::Guestfs;
use Sys::Guestfs::Lib;