Op 30-11-2012 9:57, Kornel Benko schreef:

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


This command does not update the test cases, it just runs the tests.. right ?

How can I update the test cases using CMake ?

Vincent

Reply via email to