From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-06-11 04:43:23


Gennadiy Rozental wrote:
> "Victor A. Wagner Jr." <vawjr_at_[hidden]> wrote in message
> news:6.2.1.2.2.20050610111145.0405ad70_at_mail.rudbek.com...
>> At 10:22 2005-06-10, Andreas Huber wrote:
>>> It seems that a run-fail test does not pass when test_main() calls
>>> abort() or assert( false ). Is there any way how I can test these
>>> scenarios?
>>
>> perhaps we need to define our (boost) own abort and assert so that we
>> _can_ capture the errors
>
> See recent thread on Boost.Users:
>
> http://listarchives.boost.org/boost-users/2005/06/12086.php

Hmmm, wouldn't it be a good idea if the test monitor defined
BOOST_ENABLE_ASSERT_HANDLER and a boost::assertion_failed function in
DEBUG builds? Something similar could be done to detect calls to
terminate().

Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header.