Am Montag, 12. Mai 2014 um 03:34:10, schrieb Scott Kostyshak <skost...@lyx.org>
> The tex2lyx tests are failing for me because of the recent format
> change. Can someone update the files?
> 
> I tried to do so by running
> ${LYX2LYX} "$1" > temp.lyx && mv temp.lyx "$1"
> on all .lyx files in src/tex2lyx/test
> 
> I got the following warnings:
> Warning: #LyX file created by tex2lyx 2.1
> 
> Why is this a warning? As long as lyx2lyx finds \lyxformat why does it
> care who made the file?


The message says it all: files are not created by lyx2lyx but tex2lyx.

> In any case, at this point I realized the fix is a little more
> complicated because I need to run tex2lyx on the files so I wanted to
> check in here first to see what the process is for updating the files
> and if someone has automated it.

I run one test.
        # ctest -R tex2lyx/cmplyx/box-color-size-space-align.tex
        ==> FAILED

Look into Testing/Temporary/LastTest.log I see diff of
        /usr/BUILD/BuildLyxGit/src/tex2lyx/test/box-color-size-space-align.lyx
and
        /usr/src/lyx/lyx-git/src/tex2lyx/test/box-color-size-space-align.lyx.lyx

If the differences are OK for me, I can then copy
        /usr/BUILD/BuildLyxGit/src/tex2lyx/test/box-color-size-space-align.lyx
over
        /usr/src/lyx/lyx-git/src/tex2lyx/test/box-color-size-space-align.lyx.lyx

There should be nothing automated. We should always check the diffs IMHO.

> Scott

        Kornel

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

Reply via email to