Boost Test Memory Dumping...
I have a simple Boost program using the unit test framework. When I
run the program in debug, I get a dump of memory leaks. I can't find
a way to stop these memory leaks from being reported (other than
fixing the leaks of course). What is the proper way of disabling this
output? I tried using
boost::unit_test::unit_test_log.set_threshold_level but that didn't
seem to work. Any ideas?
Thanks,
Matt
Running 4 test cases...
*** No errors detected
Detected memory leaks!
Dumping objects ->
{185} normal block at 0x00C3ABF0, 32 bytes long.
Data:
I have a simple Boost program using the unit test framework. When I run the program in debug, I get a dump of memory leaks. I can't find a way to stop these memory leaks from being reported (other than fixing the leaks of course). What is the proper way of disabling this output?
Use --detect_memory_leaks=0 and/or fix leaks. Gennadiy
participants (2)
-
Gennadiy Rozental
-
Matt Amato