Re: [Boost-bugs] [Boost C++ Libraries] #5563: using a test macro in a global fixture crashes Boost.Test

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5563: using a test macro in a global fixture crashes Boost.Test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-23 14:07:25


#5563: using a test macro in a global fixture crashes Boost.Test
---------------------------+---------------------
  Reporter: m.champlon@… | Owner: rogeeff
      Type: Bugs | Status: closed
 Milestone: Boost 1.59.0 | Component: test
   Version: Boost 1.42.0 | Severity: Problem
Resolution: fixed | Keywords:
---------------------------+---------------------

Comment (by Jim King <jim.king@…>):

 Was the solution to this issue to make it impossible to use assertion
 checks within a global fixture? I find that to be pretty useful, and
 having moved from boost 1.53 to 1.59 I find I'm having to rewrite a lot of
 tests so they don't fail with an exception of:

 throw std::runtime_error( "can't use testing tools outside of test case
 implementation" );

 these tests never crashed before. Further, the patch that was provided
 does not provide a test that proves either if the issue existed before or
 whether it is fixed now.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5563#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC