Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-15 08:28:16


At 08:56 AM 8/15/2002, Beman Dawes wrote:

>But there is one worrisome issue: looking at the bjam output log, it
>appears that there were many Boost.Test compile failures. See example
>below.
>
>How could the many tests that depend on Boost.Test pass if the Boost.Test

>library isn't being built? Is it possible that bjam is failing to
>recognize this, and using the residue library from the previous run?

Serious problem. I deleted libs/test/build/bin and reran "bjam config"

For all compilers, the Boost.Test libraries failed to build because of the
std::distance problem.

limits_test.cpp itself also had a compile fail on all compilers. See below
for the vc7 results.

Yet the Boost.Build residue in
status\bin\limits_test.test\vc7\debug\runtime-link-dynamic was never
modified, so the test is still being reported as "pass" when it should be
"fail"!

This looks like a serious bjam testing bug:-(

--Beman

vc-C++
..\status\bin\limits_test.test\vc7\debug\runtime-link-dynamic\limits_test.obj
limits_test.cpp
C:\boost\site\boost\test\detail\unit_test_config.hpp(34) : error C2039:
'distance' : is not a member of 'std'
C:\boost\site\boost\test\detail\unit_test_config.hpp(34) : error C2873:
'distance' : symbol cannot be used in a using-declaration

     CALL "d:\Program Files\Microsoft Visual Studio
.NET\VC7\bin\VCVARS32.BAT" >nul
     "d:\Program Files\Microsoft Visual Studio .NET\VC7\bin\cl" /Zm400
-nologo -GX -c /Z7 /Od /Ob0 /GX /GR
/MDd -I"..\status" -I"C:\boost\site"
-Fo"..\status\bin\limits_test.test\vc7\debug\runtime-link-dynamic\limits_test.obj"
-Tp"C:\boost\site\libs/config/test\limits_test.cpp"

...failed vc-C++
..\status\bin\limits_test.test\vc7\debug\runtime-link-dynamic\limits_test.obj...
...skipped
<status\limits_test.test\vc7\debug\runtime-link-dynamic>limits_test.CMD for
lack of
<status\limits_test.test\vc7\debug\runtime-link-dynamic>limits_test.obj...
...skipped
<status\limits_test.test\vc7\debug\runtime-link-dynamic>limits_test.exe for
lack of
<status\limits_test.test\vc7\debug\runtime-link-dynamic>limits_test.CMD...
...skipped
<status\limits_test.test\vc7\debug\runtime-link-dynamic>limits_test.test
for lack of
<libs!test!build\libtest_exec_monitor.lib\vc7\debug\runtime-link-dynamic>libtest_exec_monitor.lib...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk