>> >> Well yes, there is no "env" command on Windows. > > Sorry, I did not knew about this. > >> This is used in both "src/tests/CMakeLists.txt" and >> "src/tex2lyx/CMakeLists.txt". > > I will look into this. Unfortunately the 'add_test()' command does hot have a > parameter to set the environment. > Probably I have to create a cmake script for this :(
>From CMake version 3.0.something and higher you can use: ${CMAKE_COMMAND} -E env NAME=VALUE COMMAND (with COMMAND=python runtests... etc.) For lower versions of CMake (we say we support from 2.6.8 IIRC), I didn't find a solution. > >> Besides that, running is a nightmare: >> - Somehow tex2lyx often deadlocks when outputting errors, > > It never happened on linux. 'tex2lyx' tests are run sequentially, so I didn't > see possible deadlocks ... I don't know. It just gets stuck in SystemCall::stderr ... > >> - I need to have python in the path, > > It should be the same 'python' as found in the configuration phase. Why the > need for PATH, I don't understand > (I mean in the tex2lyx tests, have I lost track?) > >> - It complains about not finding git to run "git ls-files" > > Where? This command-parameter is under linux not valid. I did not see it. During the execution of updatetex2lyxtests, it complains about git... not a big issue, but polluting the output and it seems a bit non-sense as I don't have a GUI. Maybe something to fix some time. > >> - I need ssconvert for Gnumeric These were errors during the execution of updatetex2lyxtests. It is a bit strange I need 3rd party dependencies for testing tex2lyx. >> - It complains that I cannot convert fig formats to pdftex >> - and more. Again, these were errors during the execution of updatetex2lyxtests. Vincent