Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum 
<georg.b...@post.rwth-aachen.de>
> 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

I am not sure, I understand. This patch effectively converts
        1.) provided lyx-files (test references) to new file format, this 
should not be controversial
        2.) generated lyx-files (with tex2lyx). This should not be needed

so only the second point is unclear.

> pushd <buildtree>/src/tex2lyx
> make updatetests
> popd
> with autotools (and cmake should have a similar command).


In cmake:
        pushd <buildtree>
        make test
        popd


> 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.
> 

Yes
 
> Georg
> 
        Kornel 

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

Reply via email to