Boost logo

Boost Users :

Subject: Re: [Boost-users] [Test] How to treat memory leaks as errors?
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-09-26 19:24:10


Василий Старостин wrote:

> So I expected that Boost.Test can use this function return code and
> increase errors counter for leaks. If it cannot, this can be
> improvement for the future.

The problem is that this function is not invoked till after testing
framework is done. in fact I do not invoke it at all. It is invoked by
the CRT once program execution is completed.

Running this function earlier most probably will produce huge number of
false positives.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net