Home | Libraries | People | FAQ | More |
If the execution environment supports the detection of memory leaks, this argument controls whether or not the test runner reports memory leaks. After running the tests, a memory leak report is issued showing the allocation number and the amount of memory leaked.
Values greater than 1
for this argument cause a trap
to the debugger for a particular memory allocation number. Currently,
this option is only implemented for Microsoft compilers.
Value |
Meaning |
---|---|
|
Do not detect memory leaks. |
|
Detect memory leaks and issue a memory leak report. |
|
Break on allocation |
Environment variable: BOOST_TEST_DETECT_MEMORY_LEAKS