Am Sonntag, 14. Januar 2018 um 16:48:41, schrieb Pavel Sanda <sa...@lyx.org>
> Kornel Benko wrote:
> > > it occured to me that we might still have a small glitch here:
> > > 1st line of exported .tex contains lyx version, so once master bumps
> > > its version string those test will fail. We can just update the templates
> > > at that moment, or we could change the diffing little bit.
> > > Do other tests have the same issue?
> > 
> > Yes, some of them. But we can get rid of the .tex.orig and instead create it
> > at start of test with
> >     lyx -E
> > form original file. What do you think?
> 
> But this will miss the bug in case there was one, no? P

What I meant:
        # lyx -E beamer_test.tex.orig pdflatex beamer_test.lyx
        # lyx -x 'command-sequence file-open beamer_test.lyx ; buffer-begin ; 
repeat 150 outline-down; repeat 150 outline-up ; buffer-export pdflatex ; 
repeat 150 outline-down; buffer-reload dump ; lyx-quit '
        # compare beamer_test.tex beamer_test.tex.orig

The case we are searching for is the change in structure after "#lyx -x". No 
error if no change.
Did I miss something?

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to