Picon

How to disable memory leak test

Hello,
 
Is there any way to disable memory leak test  while running unit tests.
 
Thanks...
_______________________________________________
Boost-users mailing list
Boost-users <at> lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
Filip Konvička | 27 May 08:25
Picon

Re: How to disable memory leak test

> Is there any way to disable memory leak test  while running unit tests.

Hi,

just call

    boost::detect_memory_leaks(false);

in your init_unit_test_suite().

Cheers,
Filip

Gmane