[Bioperl-l] tests

Heikki Lehvaslaiho heikki at nildram.co.uk
Sat Oct 25 18:07:32 EDT 2003


I'd prefer option 2: disabling the png tests and replacing them later
with SVG tests.

Thanks,
	-Heikki

On Sat, 2003-10-25 at 21:25, Lincoln Stein wrote:
> Hi Heikki,
> 
> Option 1:
> 
> Run BioGraphics.t with the --write switch:
> 
> 	perl t/BioGraphics.t --write
> 
> This will create a set of pngs in t/data/biographics named 
> t1.png, t2.png and t3.png.  Look at them visually and 
> confirm that they are similar to the variants located in 
> t/data/biographics/version*.  If so, move the new versions 
> into the appropriate version directory.
> 
> Option 2:
> 
> I will disable the PNG tests completely.  Every different 
> combination of libpng and libgd generates files that are 
> visually identical but incompatible at the binary level.  
> These tests aren't scaling.
> 
> The SVG version of Bio::Graphics is almost finished, and 
> when done I will replace the PNG tests with SVG tests.  
> Since SVG is a text-only XML format, it won't suffer these 
> problems.
> 
> Lincoln
> 
> On Saturday 25 October 2003 11:06 am, Heikki Lehvaslaiho 
> wrote:
> > I went to a really boring meeting and there was no
> > network connection, so I ended up fixing bioperl tests to
> > better skip individual tests when network is down.
> >
> > The only remaining test files with failures (under linux
> > and perl 5.8.1) are BioGraphics.t and Registry.t. Brian
> > is working on the latter and Lincoln has previously
> > hinted that there might be a better way of testing png
> > file generation. Would be nice to see it in place.
> >
> > 	-Heikki
> >
> >
> > _______________________________________________
> > Bioperl-l mailing list
> > Bioperl-l at portal.open-bio.org
> > http://portal.open-bio.org/mailman/listinfo/bioperl-l
-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho    heikki_at_ebi ac uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________



More information about the Bioperl-l mailing list