Am Sonntag, 14. Januar 2018 um 19:07:07, schrieb Pavel Sanda <sa...@lyx.org> > Kornel Benko wrote: > > > 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? > > Well, not in this particular test, but in general (eg the info - VCS test) it > will still fail, was talking about both of them... > Pavel
OK. Back to the question: >>> We can just update the templates >>> at that moment, or we could change the diffing little bit. >>> Do other tests have the same issue? The tex2lyx tests avoid comparing the first 2 lines for the *.tex files. (See runtests.py:28) But in fact, the files are more often updated with lyx-format changes. Since we check only the .tex output-file, we could as well ignore *all* tex-comment lines. Kornel
signature.asc
Description: This is a digitally signed message part.