Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2005-12-14 10:50:59


> Something seems to have happened to Boost.Test overnight that causes the
> following simple test-case to emit an error:
>
> ---
> #include <boost/test/unit_test.hpp>
> #include <boost/test/included/unit_test_framework.hpp>
>
> using boost::unit_test::test_suite;
>
> test_suite* init_unit_test_suite (int, char*[])
> {
> test_suite* test = BOOST_TEST_SUITE("something");
> return test;
> }
> ---
>
> Output (using latest CVS):
> ---
> Boost.Test framework error: Test is not initialized

Empty test tree is for now treated as an error. It should be addressed with
alternative init API that is there and could be used already but is not
default yet.

See an update announcement within an hour or two.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk