20 Nov
2008
20 Nov
'08
6:45 p.m.
Is it not possible to test that it aborts, and then control that and continue running the test suite? -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: 19 November 2008 19:15 To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost test with assert() AMDG Hicham Mouline wrote:
Hello, Any ideas re this issue? Can the assert from <cassert> be caught somehow?
The easiest way to test for an assert is to compile the test as a separate executable and make sure that it aborts. In Christ, Steven Watanabe