[Boost-bugs] [Boost C++ Libraries] #10143: BOOST.TEST BOOST_*_THROW behavior

Subject: [Boost-bugs] [Boost C++ Libraries] #10143: BOOST.TEST BOOST_*_THROW behavior
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-23 17:30:52

#10143: BOOST.TEST BOOST_*_THROW behavior
 Reporter: ghleclerc@… | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
 As has been suggested to me on the user list, I am filing a new ticket for
 a BOOST.TEST library bug. (http://lists.boost.org/boost-

 The BOOST_*_THROW behavior is currently that if an "unexpected" exception
 is thrown, it is not caught and simply unravels until it reaches
 terminate() or at least it has been my experience that it is so. I was
 under the impression, from the documentation found here
 tools/reference.html) that the tests would continue to run and that only a
 message (BOOST_ERROR) stating that the wrong exception was caught would be
 outputted. This is the sentence that lead me to believe that :

 " If check is successful, the tool produces a confirmation message, in
 other case it produces an error message in a form "error in test case
 name: exception exception expected. "

 Anyhow, the person who answered me about this on the mailing list
 suggested to consider this a bug rather than a feature request (see first
 link above) "because the reference docs for BOOST_*_THROW state that
 "check fails" if an unrelated exception is thrown, which is at least
 misleading at present if not incorrect". So here I am filing the ticket.

 I hope I am clear enough about my problem. If not, I am sorry and willing
 to clarify things.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/10143>
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:16 UTC