Am Montag, 1. Januar 2018 um 11:34:30, schrieb Pavel Sanda <sa...@lyx.org> > Kornel Benko wrote: > > Am Montag, 1. Januar 2018 um 11:05:32, schrieb Kornel Benko <kor...@lyx.org> > > > > What is the target you you for running these, does it exist in > > > > autotools as > > > > well or is it cmake only? > > > > > > > Some are both. So for instance the lyx2lyx or check-(layout, filetools, > > Length, lstrings, ExternalTransform), tests are in autotools too. > > Others, like key-, export-, url-tests only in cmake-build. > > I see, only cmake. I guess "export-" is likely to be the one.
We did not export to tex yet. (Export to text did not lead to any visible reaction from lyx, it was always successful). > For the test this would need to be done: > > First, you take the .lyx file from trac and commit it as > check_vcs_info_export.lyx. > Then you export it as check_vcs_info_export.tex.stored and commit it as well. > > Then shell script like this is supposed to be the test for the bug #10835: > > git status >/dev/null > if [ $? -eq 0 ] ; then exit 0 ; fi #don't try to run this test unless we are > under git control > lyx -e check_vcs_info_export.lyx # the file attached in trac > diff -u check_vcs_info_export.tex check_vcs_info_export.tex.stored > if ! [ $? -eq 0 ] ; then exit 1 ; fi #Export is different, check whether > broken or not > exit 0 > > If you know how to add this easily to the cmake test suite it's IMHO worth it, > if not forget about it... > > Pavel No problems in cmake. Will first insert the file to autotests/checklatexexports. Kornel
signature.asc
Description: This is a digitally signed message part.