Mercurial > repos > dereeper > roary_plots
annotate Roary/t/00_requires_external.t @ 1:997f4f276c1c draft
Uploaded
author | dereeper |
---|---|
date | Fri, 14 May 2021 20:42:33 +0000 |
parents | c47a5f61bc9f |
children |
rev | line source |
---|---|
0 | 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 |