[Koha-devel] Error on test in KohaTest

Chris Cormack chris at bigballofwax.co.nz
Thu Dec 22 11:16:29 CET 2011


They shouldn't be anymore, they dont work. Use the .t ones

Chris
On 22 Dec 2011 20:47, "Marcel de Rooy" <M.de.Rooy at rijksmuseum.nl> wrote:

> Thanks, but how should they be run then?
>
> > -----Oorspronkelijk bericht-----
> > Van: Chris Cormack [mailto:chris at bigballofwax.co.nz]
> > Verzonden: donderdag 22 december 2011 02:27
> > Aan: Marcel de Rooy
> > CC: koha-devel at lists.koha-community.org
> > Onderwerp: Re: [Koha-devel] Error on test in KohaTest
> >
> > 2011/12/20 Marcel de Rooy <M.de.Rooy at rijksmuseum.nl>:
> > > Hi,
> > >
> > >
> > >
> > > What am I doing wrong here?
> > >
> > >
> > >
> > > [marcel at RKM004 testclone]$ perl
> > > t/db_dependent/lib/KohaTest/AuthoritiesMarc.pm
> > >
> > > Invalid CODE attribute: Test( 1 ) at
> > > t/db_dependent/lib/KohaTest/AuthoritiesMarc.pm line 39
> > >
> > > BEGIN failed--compilation aborted at
> > > t/db_dependent/lib/KohaTest/AuthoritiesMarc.pm line 39.
> > >
> > >
> > >
> > > [marcel at RKM004 testclone]$ perl t/db_dependent/lib/KohaTest/Search.pm
> > >
> > > Invalid CODE attribute: Test( 1 ) at
> t/db_dependent/lib/KohaTest/Search.pm
> > > line 35
> > >
> > > BEGIN failed--compilation aborted at
> t/db_dependent/lib/KohaTest/Search.pm
> > > line 35.
> > >
> > >
> > >
> > The tests in that dir are not designed to be run that way, in fact we
> > should probably just remove them.
> >
> > The real tests for those files are
> > t/db_dependent/Search.t
> > and
> > t/AuthoritiesMarc_MARC21.t
> > t/AuthoritiesMarc.t
> > t/AuthoritiesMarc_UNIMARC.t
> >
> > Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20111222/7d6c58ea/attachment.html>


More information about the Koha-devel mailing list