Boost logo

Boost Testing :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2006-06-16 02:32:47


Bronek ha escrito:
> Bronek Kozicki wrote:
> > From what I can see, other libraries (filesystem, python, program
options,
> > test) are affected as well. This would explain why linker fails. I
will
> > publish ziped bjam output later, when bjam is finished running in
status
> > directory.
>
>
> It's at
http://b.kozicki.pl/boost_rtest/1_34_0/bjam-v1-como-4_3_3-vc7.zip .
> Almost all libraries are affected.

Hello Bronek,

The bjam log you've uploaded at http://b.kozicki.pl is having a higher
success
rate than what your regression engine is publishing! For one example, if

you look at any_to_ref_test you can see it is compiling, linking and
running OK. See the attached file any_to_ref_bjam.log.txt where the
relevant
log traces haven been isolated. Whereas Bronek-office fails to link at
the same testcase: http://tinyurl.com/pvoxh . So, what are the
differences
between this manual bjam run and your engine environment? I'm still
convinced this is a just a directory lookup thing. Or maybe a toolset
tag
thing, please read below.

In other post, you wrote:
> I tried to build regex library and failed due to --a compiler option.
This
> option disables some (not all) msvc-derived compiler extensions
required to
> digest Windows headers. Example error (from bjam output) below:

I don't think --a is the only culprit here. For instance, your stored
regression
results for Boost 1.33.1 show that --a was used for tests which
compiled,
linked and run OK while the same tests now fail to link: for an example
see
attached files any_to_ref_text.1.33.1.txt and any_to_ref_text.1.34.txt.
Diffing both files, the only relevant thing I found is:

In Boost 1.33.1, linking is made against
  "G:\...\libboost_test_exec_monitor.lib"

while in RC.1.34, linking is attempted against
  "G:\...\libboost_test_exec_monitor-como43-gd-1_34.lib"

Note the former does not contain toolset tags. Does this ring a bell
for anybody?

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


[Lines 17312 and following]
como-C++-action ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.obj

    
    
    
    set "PATH=;%PATH%"
    
    "como" --vc7 -c -e5 --no_version --no_prelink_verbose --display_error_number --long_long
--diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining
/Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t
-I"..\bin\boost\libs\any\test" -I"E:\DEVEL\BOOST_RTEST\boost" -I"E:\DEVEL\BOOST_RTEST\boost"
-I"E:\DEVEL\BOOST_RTEST\boost" -o
"..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.obj"
"..\libs\any\test\any_to_ref_test.cpp"

command-file-dump ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.CMD

    IF EXIST "..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.CMD" DEL
"..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.CMD"
    echo
"..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.obj">>..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.CMD

como-Link-action ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.exe

    
    
    
    set "PATH=;%PATH%"
    
    "como" --vc7 --no_version --no_prelink_verbose -o
"..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test"
@"..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.CMD"
"..\bin\boost\libs\test\build\libboost_test_exec_monitor.lib\como-4_3_3-vc7\debug\libboost_test_exec_monitor-como43-gd-1_34.lib"

C++ prelinker: executing: como --vc7 --vc7 -e5 --no_version --no_prelink_verbose --display_error_number --long_long
--diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining
/Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t
-I..\bin\boost\libs\any\test -IE:\DEVEL\BOOST_RTEST\boost -IE:\DEVEL\BOOST_RTEST\boost
-IE:\DEVEL\BOOST_RTEST\boost -o
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.obj -c
..\libs\any\test\any_to_ref_test.cpp

[Lines 132790 and following]
execute-test ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.run

    
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.exe >
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.output 2>&1
    set status=%ERRORLEVEL%
    echo. >> ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.output
    echo EXIT STATUS: %status% >>
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.output
    if %status% EQU 0 (
        copy ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.output
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.run
    )
    set verbose=1
    if %status% NEQ 0 (
        set verbose=0
    )
    if %verbose% EQU 0 (
        echo ====== BEGIN OUTPUT ======
        type ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.output
        echo ====== END OUTPUT ======
    )
    exit %status%

        1 file(s) copied.
RmTemps ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.run

    del /f/q "..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.exe"

**passed** ..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.test

    echo ..\libs\any\test\any_to_ref_test.cpp >
..\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7\debug\any_to_ref_test.test


<test-log library="any" test-name="any_to_ref_test" test-type="run" test-program="libs/any/test/any_to_ref_test.cpp" target-directory="bin/boost/libs/any/test/any_to_ref_test.test/como-4_3_3-vc7_1/debug" toolset="como-4_3_3-vc7_1" show-run-output="false">
<compile result="succeed" timestamp="2005-11-20 12:13:07 UTC">
call "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\..\Common7\Tools\vsvars32" &gt;nul
    set "COMO_MS_INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7/include"
    
    set "PATH=;%PATH%"
    
    "como" --vc71 -c -e5 --no_version --no_prelink_verbose --display_error_number --long_long --diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining /Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t -I"G:\results\bin\boost\libs\any\test" -I"G:\boost" -I"G:\boost" -I"G:\boost" -I"G:\boost" -o "G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.obj" "..\libs\any\test\any_to_ref_test.cpp"

</compile>
<link result="succeed" timestamp="2005-11-20 12:13:07 UTC">
call "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\..\Common7\Tools\vsvars32" &gt;nul
    set "COMO_MS_INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7/include"
    
    set "PATH=;%PATH%"
    
    "como" --vc71 --no_version --no_prelink_verbose -o "G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test" @"G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.CMD" "G:\results\bin\boost\libs\test\build\libboost_test_exec_monitor.lib\como-4_3_3-vc7_1\debug\libboost_test_exec_monitor.lib"

C++ prelinker: executing: como --vc71 -e5 --no_version --no_prelink_verbose --display_error_number --long_long --diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining /Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t -IG:\results\bin\boost\libs\any\test -IG:\boost -IG:\boost -IG:\boost -IG:\boost -o G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.obj -c ..\libs\any\test\any_to_ref_test.cpp
</link>
<run result="succeed" timestamp="2005-11-20 12:14:20 UTC">

*** No errors detected
Running 1 test case...
 
EXIT STATUS: 0
</run>
</test-log>


<test-log library="any" test-name="any_to_ref_test" test-type="run" test-program="libs/any/test/any_to_ref_test.cpp" target-directory="bin/boost/libs/any/test/any_to_ref_test.test/como-4_3_3-vc7_1/debug" toolset="como-4_3_3-vc7_1" show-run-output="false">
<compile result="succeed" timestamp="2006-06-13 07:55:57 UTC">
call "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\..\Common7\Tools\vsvars32" &gt;nul
    set "COMO_MS_INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7/include"
    
    set "PATH=;%PATH%"
    
    "como" --vc71 -c -e5 --no_version --no_prelink_verbose --display_error_number --long_long --diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining /Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t -I"G:\results\bin\boost\libs\any\test" -I"G:\boost" -I"G:\boost" -I"G:\boost" -I"G:\boost" -o "G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.obj" "..\libs\any\test\any_to_ref_test.cpp"

</compile>
<link result="succeed" timestamp="2006-06-13 07:55:57 UTC">
call "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\..\Common7\Tools\vsvars32" &gt;nul
    set "COMO_MS_INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7/include"
    
    set "PATH=;%PATH%"
    
    "como" --vc71 --no_version --no_prelink_verbose -o "G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test" @"G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.CMD" "G:\results\bin\boost\libs\test\build\libboost_test_exec_monitor.lib\como-4_3_3-vc7_1\debug\libboost_test_exec_monitor-como43-gd-1_34.lib"

C++ prelinker: executing: como.exe --vc71 -e5 --no_version --no_prelink_verbose --display_error_number --long_long --diag_suppress=9,21,161,748,940,962 -D__STL_LONG_LONG --a -DBOOST_COMO_STRICT=1 --no_inlining /Zi /Od -D_WIN32 -DBOOST_SP_DISABLE_THREADS --exceptions -DBOOST_DISABLE_WIN32 --wchar_t -IG:\results\bin\boost\libs\any\test -IG:\boost -IG:\boost -IG:\boost -IG:\boost -o G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.obj -c ..\libs\any\test\any_to_ref_test.cpp
LINK : fatal error LNK1104: cannot open file 'G:\results\bin\boost\libs\test\build\libboost_test_exec_monitor.lib\como-4_3_3-vc7_1\debug\libboost_test_exec_monitor-como43-gd-1_34.lib'
</link>
<run result="fail" timestamp="2006-06-13 07:57:42 UTC">
'G:\results\bin\boost\libs\any\test\any_to_ref_test.test\como-4_3_3-vc7_1\debug\any_to_ref_test.exe' is not recognized as an internal or external command,
operable program or batch file.
 
EXIT STATUS: 9009
</run>
</test-log>


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