Building unit tests on Win32
I uploaded a patch to the bug tracker that enables building of CxxTest unit tests on Windows. Basically it adds a target linkcxxtests that generates an executable that performs all the tests. The relevant bug is: https://bugs.launchpad.net/inkscape/+bug/208821
There are two main points I'd like some feedback on: 1. Is the way I let buildtool generate the required .cpp files using cxxtestgen (see the compile target) acceptable? 2. Does anyone have a (big) problem with compiling (not linking) the (unit) tests as part of the normal build process?
I added the cxxtest files to the normal compile target because it was easier that way (I had some problem with the dependencies if I did it differently) and because it will break the build if anyone breaks a test (which people really shouldn't do). Note that I'm only talking of compile-time problems here. As it is now the tests are not linked during in the normal link target, and they are definitely not executed.
Jasper van de Gronde
participants (1)
-
Jasper van de Gronde