Boost logo

Boost :

Subject: Re: [boost] [test] Problem with BOOST_TEST_MESSAGE
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-05-13 20:31:21


On 5/13/2015 4:51 AM, Bjorn Reese wrote:
> On 05/13/2015 02:39 AM, Edward Diener wrote:
>> On 5/12/2015 6:42 PM, Bjorn Reese wrote:
>>> On 05/13/2015 12:00 AM, Edward Diener wrote:
>>>
>>>> BOOST_TEST_MESSAGE does not appear. Needless to say I always want my
>>>> BOOST_TEST_MESSAGE messages to always appear in the output. Is there a
>>>> solution to this ?
>>>
>>> Add --log_level=message when you run the test.
>>
>> I tried that with the same result.
>
> Both this and the BOOST_TEST_LOG_LEVEL environment variable work fine
> here. I have attached a small test program; hopefully that will help
> you narrow down the problem.

I tried your program using the latest Boost.Test on the 'master' branch,
and the result is the same for me. Perhaps this works for you with some
previous release or perhaps this works for you with the 'develop' branch
of Boost.Test.

>
> Btw, you can also set the log level at compile time:
>
> http://www.boost.org/libs/test/doc/html/utf/user-guide/test-output/log-ct-config.html

Thanks, that helps.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk