Boost logo

Boost :

Subject: Re: [boost] [test] Problem with BOOST_TEST_MESSAGE
From: Bjorn Reese (breese_at_[hidden])
Date: 2015-05-13 04:51:33


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.

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




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