Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] BOOST_FAIL vs BOOST_ERROR
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-05-14 17:14:45

Greg Christopher <gchristopher <at>> writes:

> BOOST_REQUIRE won't work in the setup step because it does
> exactly what I want to avoid :) Thanks, I will throw a c++
> exception.

Actually C++ exception will lead to the same result - test case being marked as

If I understand what you need correctly, you need to throw
boost::execution_aborted(). This exception is treated specially by execution
monitor and no error is reported.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at