$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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> vmware.com> 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
failed.
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.
Gennadiy