Vincent van Ravesteijn wrote:

> Well yes, there is no "env" command on Windows.
> 
> This is used in both  "src/tests/CMakeLists.txt"  and
> "src/tex2lyx/CMakeLists.txt".
> 
> Besides that, running is a nightmare:
> - Somehow tex2lyx often deadlocks when outputting errors,

This would be a bug in tex2lyx which needs to be investigated. I would do 
it, but of course I don't see it on linux:-(

> - I need to have python in the path,

This is indeed a requirement right now because of our home made test driver. 
Maybe python can be found by some cmake trickery, but I don't know. In the 
long run we need a better test driver, but as a short term solution I 
suggest to create a batch file for running the tests that adds python to the 
path temporarily.

> - It complains about not finding git to run "git ls-files"
> - I need ssconvert for Gnumeric
> - It complains that I cannot convert fig formats to pdftex

These three come from LyX, when it is called to re-export the .lyx files 
created by tex2lyx. You are completely right that these dependencies are not 
needed for testing tex2lyx, and we should get rid of them. I'll put this on 
my list, but up to now nobody noticed since everybody who ran the tests had 
these things installed. Getting rid of these dependencies is easy, we simply 
need to instruct LyX on the command line that we are only interested in the 
pure .tex export, and do not want a LaTeX-reday export with all included 
objects converted to the correct format.


Georg

Reply via email to