
3 Feb
2006
3 Feb
'06
4:23 p.m.
The following unexpectedly(?) links and run: --- #include <boost/test/auto_unit_test.hpp>
boost::unit_test::test_suite* init_unit_test_suite( int, char*[] ) { boost::unit_test::framework::master_test_suite().p_name.value = "whatever"; return 0; } ---
Don't I need to define BOOST_TEST_MAIN in this case? Is this as intended? I'm using the latest cvs and UTF as a static library.
The only purpose of BOOST_TEST_MAIN for regular build is to define this init function. So obviously this is working. Gennadiy