[Boost.Test] and assert()
16 Feb
2005
16 Feb
'05
9:15 a.m.
When testing my program using the Unit Test Framework I find that if the program fails an assert() it is aborted with the message "Abnormal program termination" and no more tests are run. Is this the expected behaviour? The release notes for Boost.Test v1.30.0 say that a handler was added for SIGABRT (raised by abort() called by assert()) so I was expecting the test framework to catch this exception and report it in a similar way to a divide-by-zero error. I have my code compiled in debug with Borland C++ Builder 6.0 running on Windows XP. The behaviour is the same whether the command line option --catch_system_errors=yes or no. Richard
7226
Age (days ago)
7226
Last active (days ago)
0 comments
1 participants
participants (1)
-
Richard Jennings