Boost logo

Boost Users :

Subject: [Boost-users] [Test] How to treat memory leaks as errors?
From: Âàñèëèé Ñòàðîñòèí (bstarostin_at_[hidden])
Date: 2009-09-15 14:22:02


                Hi!

I use Boost.Test as testing facility and get "memory leak detected"
messages every time this happens. And this is good.

However, Boost.Test doesn't return non-zero error code when leaks
detected (as it does this when tests fail).

How can I make my testing program to return non-zero error code if memory leaked?

WBR,
Vasily


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