Boost Testing :
From: Robert Ramey (ramey_at_[hidden])
Date: 2005-10-25 23:16:34
David Abrahams wrote:
> "Alisdair Meredith" <alisdair.meredith_at_[hidden]> writes:
>> Robert Ramey wrote:
>>> I've been running tests on my local machine in release mode. It
>>> turns out that all my tests fail with the message
>>> Run output:
>>> EXIT STATUS: -1073741819
>>> This occurs with both borland 5.51 and 5.64 compilers.
>>> I think i recall having this before and concluding
>>> that it was an issue with Boost Test
>>> Perhaps someone might have a look at this.
>> Borland has serious problems with running destructors in release
>> mode. With a new compiler finally due out by the end of the year, we
>> hope to see some serious bug fixes, but until then I would recommend
>> ALWAYS disabling inline function expansion, even in release mode.
>> This has been standard advice on the Borland newsgroups for several
>> years now.
> I guess I'm going to do that in all our standard toolsets now. Please
> squawk if there are any objections!
all standard toolset or all borland standard toolsets?
In anycase, I'm not sure this is a good idea. The whole idea of testing
with release mode would be to flush out bugs before users do - and I don't
think users would necessarily do this. My original concern was that relase
mode couldn't be tested without tracking down something hard to find in the
test library. So I'm thinking that maybe we can just apply the "fix" to
just the test library build and see what happens with the rest of the tests.
Applying it to everything may hide the very things we are looking for. If
it turns out that release mode for borland is totally unusable, we can then
apply the fix globally.