|
Boost : |
From: Paul A Bristow (pbristow_at_[hidden])
Date: 2005-09-29 05:28:55
Sorry - reposted with subject :-((
| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Paul A Bristow
| Sent: 28 September 2005 19:41
| To: boost_at_[hidden]
| Subject: [boost] (no subject)
|
| I had been using Boost test with 1.32 successfully
|
| #include <boost/test/test_tools.hpp>
| #include <boost/test/floating_point_comparison.hpp> // Extra
| test tool for
| FP comparison.
|
| but with 1.33 it fails to compile at
|
| using boost::unit_test_framework::unit_test_log;
| using boost::unit_test_framework::log_level;
|
| and used this to control the log threshold
|
|
| unit_test_log::instance().set_log_threshold_level_by_name("tes
| t_suite");
|
| and to switch the log file
|
| unit_test_log::instance().set_log_stream(flog); // Switch to log
| file.// unit_test_log::instance().set_log_stream(cout);
| // Switch back to
| cout,
|
| But this has been removed in 1.33
|
| but I am unclear how to replicate this sort of function.
|
| Suggestions?
|
| Thanks
|
| Paul
|
| Paul A Bristow
| Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
| +44 1539 561830 +44 7714 330204
| mailto: pbristow_at_[hidden] www.hetp.u-net.com
|
|
|
| _______________________________________________
| Unsubscribe & other changes:
| http://lists.boost.org/mailman/listinfo.cgi/boost
|
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk