On 15/07/2014 13:24, Christian Egli wrote:
I am sorry, you have that wrong. I specified MSVC specifically as that is the compiler most windows users can get running (mingw32 is too complicated and picky to normally rely on getting working and cygwin relies on the cygwin runtime). File2brl uses gnulib, and gnulib only has build stuff for autotools and no clear indication how to even start going about using it for other build systems. Thus unless you can provide MSVC instructions for building file2brl I deem it not possible to build on Windows with defacto compilers.HiOn 07/15/2014 12:09 PM, Michael Whapples (Redacted sender mwhapples@xxxxxxx for DMARC) wrote:and also that file2brl is essentially a unix only tool (it cannot be built with defacto compilers on Windows, IE. MSVC), thus the old test framework does not meet with the goal of LibLouisUTDML being cross-platform.You've said this in the past and it is still false. The existing test framework is deliberately simple as to not to depend on too many things. It is just as cross-platform as liblouisutdml itself.
May be the explanation is complicated, its hardly complicated in practice. It is one just needs to state in the explanation things like where relative paths will be resolved relative to, and how best to describe an XML document structure? Similar stuff needs explaining whatever notation/syntax is used.* The translateFile tests are defined in the file testdata/translateFileTests.xml. The root element of this file is tests and it can contain translateFileTest elements....The whole thing sounds very complicated. If there is one thing that I learned over the years then its the saying that simplicity always trumps complexity.
I wrote a very simple, proof-of-concept test harness for liblouis a while ago, using the Java bindings and Clojure. Maybe some ideas could be stolen from there: https://github.com/egli/louis-cljI have taken a look at that. Not really sure what it gives over the approach I have taken. You would still need to explain where relative file paths are resolved relative to, the structure of the file, etc. Please give more detail how it simplifies things?
Hope that helps Christian
For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com