Re: [Boost.Test] how to get current test outcomefromwithin test case
Pierre-Jules Tremblay <iamtrep <at> gmail.com>
2006-09-01 15:11:14 GMT
On 8/23/06, Gennadiy Rozental <gennadiy.rozental <at> thomson.com> wrote:
>
> "Pierre-Jules Tremblay" <iamtrep <at> gmail.com> wrote in message
> news:4590bfef0608230550s5de6f427j45d531fbe6090cbd <at> mail.gmail.com...
> > Well.. in general, not that often, I suppose.
> >
> > In our augmented version of your test framework, I've implemented
> > fairly sophisticated logic to catch memory leaks on a per-test-case
> > basis.
>
> Would you be interrested t oshare it with us if it's generic enough?
I've been thinking about that. At the moment, it's not possible
because much of the code depends on a proprietary heap management
library. However I think it should be possible to abstract that out.
Perhaps it would be useful if it could at least make use of
Microsoft's debug CRT functions?
I'll let you know if I get anywhere with generalizing the memory-leak
finding code.
>
> > In the results accounting, I need to know whether a test
> > failed because of a memory leak or because it failed a predicate
> > check.
> >
> > Come to think of it, perhaps this belongs more as an FAQ item for the
> > documentation rather than a tool proper.
>
> Ok.
(Continue reading)