[Patch] Test suite for compare function

Kornel Benko kornel at lyx.org
Sun Nov 8 12:01:14 UTC 2020


Am Sun, 8 Nov 2020 10:28:51 +0100
schrieb Kornel Benko <kornel at lyx.org>:

> Am Sun, 08 Nov 2020 17:14:42 +1300
> schrieb "Sam Crawley" <sam at crawley.nz>:
> ...
> > diff --git a/lib/scripts/lyx_batch.pl.in b/lib/scripts/lyx_batch.pl.in
> > index 2d93d27c59..32ef0f974a 100644
> > --- a/lib/scripts/lyx_batch.pl.in
> > +++ b/lib/scripts/lyx_batch.pl.in
> > @@ -8,11 +8,6 @@ use warnings;
> >  use File::Copy;
> >  use File::Compare;
> >  
> > -sub checkPrecondition();
> > -sub system1(@);
> > -sub addFiles($$$);
> > -sub mycompare($$$);
> > -  
> 
> Hm, why are you removing the prototypes?
> 
> 	Kornel

Applies clean.
Needed new perl module (Slurp.pm), got from package 'libfile-slurp-perl'.
Test passes after 17 seconds.
All other batch tests are still OK.

Nice work. (The testfiles old.lyx/new.lyx are hm... not very complex)

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20201108/7025844e/attachment.asc>


More information about the lyx-devel mailing list