Boost logo

Boost :

Subject: Re: [boost] [test] Trunk broken: What happened to test_exec_monitor?
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-10-04 13:29:34

>> special_functions_test.cpp
>> special_functions_test.cpp(16) : fatal error C1083: Cannot open include
>> file: 'boost/test/test_case_template.hpp': No such file or directory
> This one was deprecated as well long time ago. I can put it back, but it's
> empty. I'll reinstate it for now.

Assuming that it really is empty, I removed those includes from Boost.Math,
but now get:

m:\data\boost\trunk\libs\math\test\sinc_test.hpp(64) : error C3861:
'BOOST_MESSAGE': identifier not found
m:\data\boost\trunk\libs\math\test\sinc_test.hpp(65) : error C3861:
'BOOST_MESSAGE': identifier not found

+ lots of other errors, then:

..\quaternion\quaternion_mult_incl_test.cpp(16) : error C3083:
'unit_test_framework': the symbol to the left of a '::' must be a type
..\quaternion\quaternion_mult_incl_test.cpp(16) : error C2039: 'test_suite'
: is not a member of 'boost'

>> and also:
>> ..\..\..\bin.v2\libs\math\test\test_legacy_nonfinite.test\msvc-10.0\
>> debug\asynch-exceptions-on\threading-multi\test_legacy_nonfinite.exe
>> test_legacy_nonfinite.obj : error LNK2019: unresolved external symbol
>> "public: __thiscall
> ...
>> boost::unit_test::callback0<struct boost::unit_test::ut_detail::unused>
>> const &)"
> Something is not right. I eliminated my header callback.hpp in favor of
> boost::function. There should not be any reference to callback0 template.
> Is it
> possible to run a clean build?

A clean build still gives:
test_legacy_nonfinite.obj : error LNK2019: unresolved external symbol
"public: __thiscall
boost::unit_test::test_case *,unsigned long)"
referenced in function "void __cdecl `anonymous namespace'::`dynamic
initializer for 'legacy_test_registrar53''(void)"
test_legacy_nonfinite.obj : error LNK2019: unresolved external symbol
"public: __thiscall boost::unit_test::test_case::test_case(class
boost::unit_test::basic_cstring<char const >,class
boost::unit_test::callback0<struct boost::unit_test::ut_detail::unused>
const &)"
referenced in function "class boost::unit_test::test_case * __cdecl
boost::unit_test::make_test_case(class boost::unit_test::callback0<struct
boost::unit_test::ut_detail::unused> const &,class
boost::unit_test::basic_cstring<char const >)"

BTW you can easily test these issues for yourself by building the Boost.Math
tests - frankly all of my "boost time" the last few days has been taken up
with chasing down Boost.Test issues - and I'm sure I'm not alone. Last time
this happened - not that long ago as it happens - I rewrote a bunch of code
to not use Boost.Test anymore. I now see that as a very wise move, even
though there should be much better uses for my time.

Frustrated yours, John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at