[Bioperl-guts-l] bioperl-live/t/lib BioperlTest.pm,1.4,1.5

Senduran Balasubramaniam sendu at dev.open-bio.org
Thu Jun 21 10:50:53 EDT 2007


Update of /home/repository/bioperl/bioperl-live/t/lib
In directory dev.open-bio.org:/tmp/cvs-serv32263/t/lib

Modified Files:
	BioperlTest.pm 
Log Message:
improved output, docs

Index: BioperlTest.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/t/lib/BioperlTest.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** BioperlTest.pm	21 Jun 2007 14:11:12 -0000	1.4
--- BioperlTest.pm	21 Jun 2007 14:50:51 -0000	1.5
***************
*** 31,36 ****
    SKIP: {
      test_skip(-tests => 10, -requires_modules => ['Optional::Module']);
  
!     # 10 optional tests that need Optional::Module
    }
  
--- 31,37 ----
    SKIP: {
      test_skip(-tests => 10, -requires_modules => ['Optional::Module']);
+     use_ok('Optional::Module');
  
!     # 9 other optional tests that need Optional::Module
    }
  
***************
*** 283,287 ****
      eval $requires;
      if (!$skip && $@) {
!         $skip = (@req_mods == 1 ? 'The optional module ' : 'One or more of the optional modules ').join(', ', @req_mods).' not installed';
      }
      
--- 284,288 ----
      eval $requires;
      if (!$skip && $@) {
!         $skip = (@req_mods == 1 ? 'The optional module ' : 'One or more of the optional modules ').join(', ', @req_mods).' (or dependencies thereof) not installed';
      }
      



More information about the Bioperl-guts-l mailing list