comparison Roary/t/00_requires_external.t @ 0:c47a5f61bc9f draft

Uploaded
author dereeper
date Fri, 14 May 2021 20:27:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c47a5f61bc9f
1 #!/usr/bin/env perl
2
3 use Test::Most;
4 use FindBin;
5 plan tests => 8;
6 bail_on_fail if 0;
7 use Env::Path 'PATH';
8
9
10 my $OPSYS = $^O;
11 my $BINDIR = "$FindBin::RealBin/../binaries/$OPSYS";
12
13 for my $dir ($BINDIR, $FindBin::RealBin) {
14 if (-d $dir) {
15 $ENV{PATH} .= ":$dir";
16 }
17 }
18
19 ok(scalar PATH->Whence($_), "$_ in PATH") for qw(blastp makeblastdb mcl mcxdeblast bedtools prank parallel mafft);
20