Re: [LyX master] Support out of source tests in tex2lyx test runner

2013-05-21 Thread Vincent van Ravesteijn
Op 21-5-2013 9:38, Kornel Benko schreef: Am Dienstag, 21. Mai 2013 um 08:16:53, schrieb Vincent van Ravesteijn > > > #cp /usr/BUILD/BuildLyxGit/src/tex2lyx/test/CJKutf8.lyx > > /usr/src/lyx/lyx-git/src/tex2lyx/test/CJKutf8.lyx.lyx > > > > > > Does this mean I have to manually copy and

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2013-05-21 Thread Kornel Benko
Am Dienstag, 21. Mai 2013 um 08:16:53, schrieb Vincent van Ravesteijn > > > #cp /usr/BUILD/BuildLyxGit/src/tex2lyx/test/CJKutf8.lyx > > /usr/src/lyx/lyx-git/src/tex2lyx/test/CJKutf8.lyx.lyx > > > > > > Does this mean I have to manually copy and rename each file ? Yes. > I would be useful to

Re: [LyX master] Support out of source tests in tex2lyx test runner

2013-05-20 Thread Vincent van Ravesteijn
#cp /usr/BUILD/BuildLyxGit/src/tex2lyx/test/CJKutf8.lyx /usr/src/lyx/lyx-git/src/tex2lyx/test/CJKutf8.lyx.lyx Does this mean I have to manually copy and rename each file ? I would be useful to have a CMake target just like the autotools target "updatetests" that will automatically overwri

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2013-05-20 Thread Kornel Benko
Am Montag, 20. Mai 2013 um 14:42:58, schrieb Vincent van Ravesteijn > Op 30-11-2012 9:57, Kornel Benko schreef: > > > > Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum > > > > > > > Kornel Benko wrote: > > > > > > > > > > > Hi Georg, > > > > > > how about automatic conversion o

Re: [LyX master] Support out of source tests in tex2lyx test runner

2013-05-20 Thread Vincent van Ravesteijn
Op 30-11-2012 9:57, Kornel Benko schreef: Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum > 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

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-12-02 Thread Kornel Benko
Am Sonntag, 2. Dezember 2012 um 12:20:01, schrieb Georg Baum > Kornel Benko wrote: > > > 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

Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-12-02 Thread Georg Baum
Kornel Benko wrote: > 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. 1.) Ad

Re: Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Kornel Benko
Am Donnerstag, 29. November 2012 um 21:51:17, schrieb Georg Baum > 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

Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-30 Thread Jürgen Spitzmüller
Georg Baum wrote: > We certainly need a better documentation of the procedure to update the > file format Definitely. Also, I wonder if we really need to document the changes at different places (development/FORMAT and tex2lyx/TODO). Jürgen

Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-29 Thread Georg Baum
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 sh

Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-11-29 Thread Kornel Benko
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. Korneldiff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 13d62f6..24650f3 10

Re: Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Kornel Benko
Am Mittwoch, 3. Oktober 2012 um 16:18:58, schrieb Georg Baum > > The next thing on my list is indeed to fix the bugs that cause the test > failures and to update the test references, but I will probably be slow as > well with this task. Once the references are up to date again and the cmake >

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Georg Baum
Kornel Benko wrote: > I get following diffs e.g. for file XeTeX-polyglossia.lyx > ... > --- /usr/src/lyx/lyx-git/src/tex2lyx/test/XeTeX-polyglossia.lyx.lyx > Mon Jul 30 09:33:17 2012 > +++ /usr/BUILD/BuildLyxGit/src/tex2lyx/test/XeTeX-polyglossia.lyx > Wed Oct 3 15:54:00 2012 @@ -1,5 +1

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Kornel Benko
Am Mittwoch, 3. Oktober 2012 um 14:08:40, schrieb Georg Baum > It took far too long, but finally it is possible to run the tex2lyx tests > without overwriting any files. autotools "make check" still overwrites the > files (this is still a useful thing to have if you want to update the > refere

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Georg Baum
Kornel Benko wrote: > Cmake build already copied the needed files. So now its is done twice. > I will try to correct it. Oh, I did not know. I implemented the copyfiles option in tex2lyx because it is also useful outside a testing context, and you do not need to tell the build system a list of

Re: Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Kornel Benko
Am Mittwoch, 3. Oktober 2012 um 14:08:40, schrieb Georg Baum > It took far too long, but finally it is possible to run the tex2lyx tests > without overwriting any files. autotools "make check" still overwrites the > files (this is still a useful thing to have if you want to update the > refere

Re: [LyX master] Support out of source tests in tex2lyx test runner

2012-10-03 Thread Georg Baum
It took far too long, but finally it is possible to run the tex2lyx tests without overwriting any files. autotools "make check" still overwrites the files (this is still a useful thing to have if you want to update the references), but I will add another target for that and change "make check"