Kornel Benko wrote:

> Hi Georg,
> how about automatic conversion of of lyx files before checking for
> difference?
> 
> Something like the attached works for me. And does not depend on format of
> provided lyx-files.

This makes the tests less effective. If somebody updates the file format, he 
should check tex2lyx as well and update the test references at the same 
time. If all is fine, updating the references is as easy as

pushd <buildtree>/src/tex2lyx
make updatetests
popd

with autotools (and cmake should have a similar command). The author of a 
file format change is the best person to judge whether the new output is 
still correct. If other people are doing that later it is more work. Errors 
can easily slip in if several format updates have accumulated, and then the 
references are updated in one step. Also, the additional file format 
conversion pulls in another component (lyx2lyx), which could cause errors as 
well. Therefore I'd like to keep the tests as they are.

We certainly need a better documentation of the procedure to update the file 
format, but I don't know where to put that.


Georg


Reply via email to