From d2485a029710683b80218dbe459695ca472eb56f Mon Sep 17 00:00:00 2001 From: Chris Fields Date: Sat, 16 Sep 2017 10:23:48 -0500 Subject: [PATCH] RT #123058, skip if IPC::Run isn't installed --- t/SABlastPlus.t | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/t/SABlastPlus.t b/t/SABlastPlus.t index 4195eb1..9fcbc27 100755 --- a/t/SABlastPlus.t +++ b/t/SABlastPlus.t @@ -8,13 +8,13 @@ use lib '../lib'; our $home; BEGIN { use Bio::Root::Test; - test_begin(-tests => 73); -# -requires_modules => [qw( Bio::Tools::Run::BlastPlus)]); + test_begin(-tests => 73, + -requires_module => "IPC::Run"); + use_ok( 'Bio::Tools::Run::StandAloneBlastPlus' ); + use_ok( 'Bio::Tools::Run::WrapperBase' ); + use_ok( 'Bio::Tools::Run::WrapperBase::CommandExts' ); } -use_ok( 'Bio::Tools::Run::StandAloneBlastPlus' ); -use_ok( 'Bio::Tools::Run::WrapperBase' ); -use_ok( 'Bio::Tools::Run::WrapperBase::CommandExts' ); use Bio::SeqIO; use Bio::AlignIO; @@ -24,6 +24,7 @@ ok my $bpfac = Bio::Tools::Run::BlastPlus->new(-command => 'makeblastdb'), SKIP : { test_skip( -tests => 69, -requires_executable => $bpfac); + diag('DB and mask make tests'); # testing using fasta files as input... -- 2.11.4.GIT