Am Sonntag, 14. Januar 2018 um 10:19:25, schrieb Pavel Sanda <sa...@lyx.org> > Kornel Benko wrote: > > > > put beamer_test.lyx & beamer_test.tex.orig to our git tree. > > > > then outline & beamer test should be smt like: > > > > > > > > rm beamer_test.tex > > > > 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 ' > > > > diff -u beamer_test.tex beamer_test.tex.orig > > > > ... if diff is noneempty fail the test ... > > > > As Andrew Parsloe mentioned, this command sequence has its quirks. > > 1.) 'lyx-quit' comes before the export completes, ==> dialog appears > > Does it in your case? 'repeat 150 outline-down' was a hack to avoid that... > > > 2.) lyx starts with a gui > > Hard to fix, OTOH just few msgs back you suggested using much more fragile > machinery of keystroke tests, > so we could put it there if GUI is a problem. > > > 3.) missing language spec. The created tex-file is gui-language dependent > > (while emitting shortcuts) > > I see, easyfix. But if you experience problem 1, we have worse problems... > > Pavel
I experience 4.) Dialog appears every time asking for revert. Using "buffer-write" now instead of "buffer-reload dump". Since at start of test the original file is copied first and then operated on the copy, nothing bad happens. Still the test opens a window. Kornel
signature.asc
Description: This is a digitally signed message part.