
13 Mar
2010
13 Mar
'10
9:17 p.m.
Christian Henning wrote:
Hi,
The BOOST_TEST_MAIN is required and it is only defined in test.cpp
$ cat test.cpp #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp>
I see what you mean. Is it problematic to define BOOST_TEST_MAIN more than once. I think that's reason I have it in test.cpp, only.
I suppose it should not be a problem, except redefinitions will be warned about.
When building all test you can run selected tests by given certain command line parameters. Of course, don't remember, right now, which one. ;-)
Sure. I build pnm_test.cpp only for purpose of isolation :-) Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org