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:

compile-c-c++
..\..\..\bin.v2\libs\math\test\special_functions_test.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\special_functions_test.obj
special_functions_test.cpp
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:

compile-c-c++
..\..\..\bin.v2\libs\math\test\quaternion_mult_incl_test.test\msvc-10.0\debug\asynch-exceptions-on\threading-multi\quaternion_mult_incl_test.obj
quaternion_mult_incl_test.cpp
..\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:
>>
>> msvc.link
>> ..\..\..\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:

msvc.link
..\..\..\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::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar(class
boost::unit_test::test_case *,unsigned long)"
(??0auto_test_unit_registrar_at_ut_detail_at_unit_test_at_boost@@QAE_at_PAVtest_case_at_23@K_at_Z)
referenced in function "void __cdecl `anonymous namespace'::`dynamic
initializer for 'legacy_test_registrar53''(void)"
(??__Elegacy_test_registrar53@?A0x669780f0@@YAXXZ)
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 &)"
(??0test_case_at_unit_test_at_boost@@QAE_at_V?$basic_cstring@$$CBD_at_12@ABV?$callback0_at_Uunused@ut_detail_at_unit_test_at_boost@@@12@@Z)
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 >)"
(?make_test_case_at_unit_test_at_boost@@YAPAVtest_case_at_12@ABV?$callback0_at_Uunused@ut_detail_at_unit_test_at_boost@@@12_at_V?$basic_cstring@$$CBD_at_12@@Z)

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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk