Boost logo

Boost :

Subject: Re: [boost] [test] console_test_runner ported on *nix
From: Gennaidy Rozental (rogeeff_at_[hidden])
Date: 2008-09-18 17:19:25


Kevin Sopp <baraclese <at> googlemail.com> writes:

>
> Hi Gennadiy,
>
> yesterday I noticed that valgrind reports an error for the
> boost test framework.
> This is for a file with a single and empty BOOST_AUTO_TEST_CASE:
>
> ==3513== Invalid read of size 4
> ==3513== at 0x40936E0: boost::unit_test::framework_impl::clear()
> (framework.ipp:133)

Not sure what it complains about. This line
   delete (test_case const*)tu.second;

deletes instance to unit_test.

Gennadiy


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