|
Boost Users : |
Subject: Re: [Boost-users] Quick Unit Test Question
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2012-01-10 08:54:38
> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf
Of
> Brad Tilley
> Sent: Tuesday, January 10, 2012 1:44 PM
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] Quick Unit Test Question
>
>
> > Please take a look to the link below regarding testing tools and their
> > relation to the error counter and test
> execution:http://www.boost.org/doc/libs/1_46_1/libs/test/doc/html/utf/testing-t...
> >
> > With Kind Regards,
> > Ovanes
>
> Perhaps it's just me, but I cannot make BOOST_WARN issue a warning.
> It's silent no matter how I use it BOOST_WARN( 1+1 == 3 ) does not issue a warning. Is that
expected, does
> something have to be tweaked to show warning messages?
>
> Both BOOST_CHECK and BOOST_REQUIRE work as expected.
I suspect you have fallen foul of the log levels (been there, done that - with messages!)
http://www.boost.org/doc/libs/1_48_0/libs/test/doc/html/utf/user-guide/runtime-config/reference.html
Do you need --log_level=warning?
HTH
Paul
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net