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>> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at