Alien-KentSrc
view release on metacpan or search on metacpan
t/02-files.t view on Meta::CPAN
use File::Spec::Functions qw{catfile};
use Test::More;
use Test::Alien qw{alien_ok with_subtest xs_ok};
use Alien::KentSrc;
alien_ok 'Alien::KentSrc';
my $kent_src = Alien::KentSrc->dist_dir;
my $machtype = Alien::KentSrc->machtype;
like $kent_src, qr{^/.*}, 'looks like a path';
like $machtype, qr/^\w+$/, 'valid machtype';
## these are all required for 01-compile.t except the first
my $jkweb = catfile $kent_src, 'lib', $machtype, 'jkweb.a';
my $jkweb2 = catfile $kent_src, 'lib', $machtype, 'libjkweb.a';
my $htslib = catfile $kent_src, 'lib', $machtype, 'libhts.a';
my $bigwig = catfile $kent_src, 'inc', 'bigWig.h';
my $hts = catfile $kent_src, 'inc', 'htslib', 'hts.h';
ok -e $jkweb, "jkweb library exists at $jkweb";
( run in 0.283 second using v1.01-cache-2.11-cpan-64827b87656 )