Boost logo

Boost Testing :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-03-11 10:27:51


http://tinyurl.com/5hnvv

The date_time regression tests in the gregorian subdir called
"testgenerators" and "testgenerators_dll" fail to compile on Solaris
due to the use of a variable called "sun".

Unfortunately, there is a preprocessor macro sun == 1 which gets
defined on this platform that ends up turning the declaration:

    greg_weekday sat(Saturday), tue(Tuesday), fri(Friday), sun(Sunday);

into

    greg_weekday sat(Saturday), tue(Tuesday), fri(Friday), 1(Sunday);

I'd suggest either #undef sun at the top of the file or changing the
name of this variable.

Also, there are few other failures (testclocks, testlocal_time,
testlocal_time_facet) due to a missing declaration of time_ in
local_date_time_base. Example: http://tinyurl.com/5xd8h

testtz_database is failing because it can't find its input file
(probably because of the working directory the tests are run from).
Perhaps this file should be found starting from $BOOST_ROOT?

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost-testing list run by mbergal at meta-comm.com