On 5/13/2015 8:31 PM, Edward Diener wrote:
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.
By this I meant that if their are no errors the BOOST_TEST_MESSAGE message never appears. By the "same for me" I meant that nothing has changed with your test from my original problem.
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-co...
Thanks, that helps.