Paul,
If the tests in t/db_dependent/lib and its subdir KohaTest are not working and 
should not be used anymore, could you please remove them from master?
The files in t/data/db_schemas could be moved to docs/db_schemas, or deleted 
too. They just show the koha structure on some moments in time.

Thanks,
Marcel

Van: Chris Cormack [mailto:[email protected]]
Verzonden: donderdag 22 december 2011 11:16
Aan: Marcel de Rooy
CC: [email protected]
Onderwerp: RE: [Koha-devel] Error on test in KohaTest


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

Chris
On 22 Dec 2011 20:47, "Marcel de Rooy" 
<[email protected]<mailto:[email protected]>> wrote:
Thanks, but how should they be run then?

> -----Oorspronkelijk bericht-----
> Van: Chris Cormack 
> [mailto:[email protected]<mailto:[email protected]>]
> Verzonden: donderdag 22 december 2011 02:27
> Aan: Marcel de Rooy
> CC: 
> [email protected]<mailto:[email protected]>
> Onderwerp: Re: [Koha-devel] Error on test in KohaTest
>
> 2011/12/20 Marcel de Rooy 
> <[email protected]<mailto:[email protected]>>:
> > Hi,
> >
> >
> >
> > What am I doing wrong here?
> >
> >
> >
> > [marcel@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@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
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to