Am 05.02.2013 09:21, schrieb Kornel Benko:

You never run tests?

I perform the tex2lyx tests manually before every LyX release.

Open a command window ("cmd"? in windows)
Change to the build-directory.
To see all tests call:
        #ctest -N

Thanks, I will try this.

For me all test files can be loaded but 3 of them are uncompilable due to known 
bugs in tex2lyx. So
I doubt the test you performed is useful as it is.

Sure, but how should we automatically check?

The script already calls tex2lyx so it could also call lyx via the command line to export the imported TeX file again as tex and then call LaTeX on the result. This way we can test if the tex2lyx result is compilable, because that matters. But I am no expert in the field of scripting.

So can we therefore please avoid ".lyx.lyx" as extension?

You can ignore this. It turned out that the virus checker delivered with my new Laptop complains on every point in filenames, but only if the extension is registered. So it shouts for "test.lyx.lyx" but not for "test.16.lyx" and "test.20.lyx" because "20" is no registered file extension while "lyx" is.
However, the virus program license will expire in a few days (it is a 
pre-installed test version).

thanks and regards
Uwe

Reply via email to