[Bioperl-l] tests

Lincoln Stein lstein at cshl.edu
Sat Oct 25 21:33:47 EDT 2003


Done.

Lincoln

On Saturday 25 October 2003 06:07 pm, Heikki Lehvaslaiho wrote:
> 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

-- 
Lincoln Stein
lstein at cshl.edu
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)


More information about the Bioperl-l mailing list