[test] regressions in vc-6_5

I'm afraid the recent restoration of previous workarounds in Boost.Test code to cope with MSVC 6.0 is not complete: boost/test/impl/unit_test_suite.ipp needs to be reverted to v1.11 to eliminate regressions like this: http://tinyurl.com/etpcg I can do this myself if given permission. Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

This one applied. In other places it seems to stamble on: C:\Users\Administrator\boost\main\boost\boost/test/impl/results_collector.ipp(119) : error C2065: 's_rc_impl' : undeclared identifier Having no access to the compiler I couldn't say what is wrong. Anyone? Gennadiy

It seems that setting the BOOST_TEST_LOG_LEVEL environment variable (or command line parameter) to "messages" no longer displays messages (in Boost 1.33 as compared to 1.31 or 1.32). I've read the 1.33 release notes a couple of times, and read through the (not always straightforward) Boost Test documentation, but cannot find what has changed, or why the BOOST_MESSAGE displays are no longer happening. I'm sure I'm doing something silly, or maybe this has changed between Boost Test releases and I just can't find the applicable documentation. Here's a minimal code example: #include <boost/test/unit_test.hpp> #include <boost/test/included/unit_test_framework.hpp> using namespace boost::unit_test_framework; void messageTest() { int i = 44; BOOST_MESSAGE("Testing Boost Message, i = " << i); } test_suite* init_unit_test_suite (int, char* [] ) { test_suite* test = BOOST_TEST_SUITE ("Boost Message Test"); test->add( BOOST_TEST_CASE ( &messageTest ) ); return test; } Thanks for any help! Cliff

On 2/27/06, Cliff Green <cliffg@codewrangler.net> wrote:
It seems that setting the BOOST_TEST_LOG_LEVEL environment variable (or command line parameter) to "messages" no
Looks from the code like it needs to be "message", no plural (from impl/unit_test_parameters.ipp). -- Caleb Epstein caleb dot epstein at gmail dot com

It seems that setting the BOOST_TEST_LOG_LEVEL environment variable (or command line parameter) to "messages" no
Should be "message".
Thanks, Gennadiy and Caleb. My environment variable setting has not changed (from my .cshrc file), so this is interesting - either the spelling of the value has changed in the newer version of Boost Test, or the old spelling I was using worked "accidentally". In any case, it's working now (and I figured it was something simple). Cliff
participants (4)
-
Caleb Epstein
-
Cliff Green
-
Gennadiy Rozental
-
JOAQUIN LOPEZ MU?Z