$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] How to abort boost test execution on the failure of any BOOST_TEST_CASE
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-10-08 14:08:02
Gaurav N Shah <gaurav.n.shah <at> jpmchase.com> writes:
> ts1->add(BOOST_TEST_CASE(&test1));
>
> ts1->add(BOOST_TEST_CASE(&test2));
>
> ::boost::framework::master_test_suite().add(ts1);
>
> In this case I do not want test2 function to
> be executed it test1 fails. How is it possible?? (I can not merge code in test1
> and test2 into single function)
Add dependency of test case test2 on test case test1.
Gennadiy