Re: [Boost-bugs] [Boost C++ Libraries] #12631: BOOST_TEST_MESSAGE generates incorrect output when used in BOOST_DATA_TEST_CASE

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12631: BOOST_TEST_MESSAGE generates incorrect output when used in BOOST_DATA_TEST_CASE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-19 19:45:08


#12631: BOOST_TEST_MESSAGE generates incorrect output when used in
BOOST_DATA_TEST_CASE
----------------------------------------------+------------------------
  Reporter: Philip Miller <philip.miller@…> | Owner: renficiaud
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.61.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------+------------------------

Comment (by renficiaud):

 Would something like

 {{{
 Running 1 test case...
 Entering test module "message in dataset"
 /Users/raffi/Personnel/boost_github/libs/test/test/framework-ts/message-
 in-datatestcase-test.cpp:17: Entering test suite "test_update"
 /Users/raffi/Personnel/boost_github/libs/test/test/framework-ts/message-
 in-datatestcase-test.cpp:17: Entering test case "_0"
 Testing update :
 Message generated in the following context:
     sample = util/test_image2.jpg;
 Update Volume with 100
 Message generated in the following context:
     sample = util/test_image2.jpg;
 Test case test_update/_0 did not check any assertions
 /Users/raffi/Personnel/boost_github/libs/test/test/framework-ts/message-
 in-datatestcase-test.cpp:17: Leaving test case "_0"; testing time: 111us
 /Users/raffi/Personnel/boost_github/libs/test/test/framework-ts/message-
 in-datatestcase-test.cpp:17: Leaving test suite "test_update"; testing
 time: 163us
 Leaving test module "message in dataset"; testing time: 197us

 *** No errors detected
 Program ended with exit code: 0
 }}}

 do instead? Unfortunately it will be hard to discard the second printing.
 Discarding any printing of context might be not desired in some
 circumstances as well.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12631#comment:2>
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-03-19 19:48:18 UTC