|
Boost Users : |
Subject: Re: [Boost-users] boost test with assert()
From: Hicham Mouline (hicham_at_[hidden])
Date: 2008-11-20 13:45:05
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_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: 19 November 2008 19:15
To: boost-users_at_[hidden]
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net