On Thu, May 14, 2015 at 10:37:17AM +0200, Kornel Benko wrote:
> Am Donnerstag, 14. Mai 2015 um 01:03:17, schrieb Enrico Forestieri 
> <for...@lyx.org>
> > commit 7144f8dad84b5b321f7c87143efec9eb2b6195dc
> > Author: Enrico Forestieri <for...@lyx.org>
> > Date:   Thu May 14 01:02:37 2015 +0200
> > 
> >     Update tex2lyx and tests after 306b136c
> 
> Tests which are calling runtests.py with parameter 'uselyx2lyx' are failing
> now if testing is not used in in the src directory.

Sorry, I have no idea of what you are talking about. When I follow the
directions in lib/doc/Development.lyx:

$ cd build/src/tex2lyx
$ make alltests
...
[lot of output]
...
=====================
tex2lyx tests passed.
=====================

> runtests.py:
>       create test.lyx1.lyx and test.lyx2.lyx with
>       # $tex2lyxexe -roundtrip -copyfiles -f $srcdir/test.ltx 
> $workdir/test.lyx
>       # $lyxexe -E lyx $workdir/test.lyx1.lyx $srcdir/test.lyx.lyx
>       # $lyxexe -E lyx $workdir/test.lyx2.lyx $workdir/test.lyx
> 
> The created files e.g. test.lyx1.lyx and test.lyx2.lyx differ now in in the 
> origin line:
>       -\origin $srcdir/
>       +\origin $workdir/
> 
> 
> So, the routine at runtests.py:26
>       def compareLyx(lines1, lines2):
> 
> should be adapted too.
> 
>       Kornel



-- 
Enrico

Reply via email to