From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-03 11:23:02


> 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