
Gennadiy Rozental wrote:
"Victor A. Wagner Jr." <vawjr@rudbek.com> wrote in message news:6.2.1.2.2.20050610111145.0405ad70@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:
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.