Boost logo

Boost Testing :

From: John Pavel (jrp_at_[hidden])
Date: 2007-11-03 07:33:04


. to answer my own question:

 

The regression.py script seems to need a user-config.jam file that enables
the python bindings.

 

"It" then runs and fails, as set out below.

 

I say "it" because there seem to be various versions of regression.py
kicking around (meta-comm, cvs, svn, etc) and they don't seem to have
distinguishing labels. Moreover, it is not completely clear what version of
boost they are testing.

 

I'd be grateful for pointers to which version I should be running to get a
basic version of boost running under VC++2008 B2 (msvc-9.0)

 

jrp

 

C:\temp\regression2\boost\boost/asio/detail/old_win_sdk_compat.hpp(295) :
error C2228: left of '.Byte' must have class/struct/union

        type is 'const u_char'

C:\temp\regression2\boost\boost/asio/detail/old_win_sdk_compat.hpp(300) :
error C2228: left of '.Byte' must have class/struct/union

        type is 'const u_char'

C:\temp\regression2\boost\boost/asio/detail/old_win_sdk_compat.hpp(305) :
error C2228: left of '.Byte' must have class/struct/union

        type is 'const u_char'

C:\temp\regression2\boost\boost/test/impl/execution_monitor.ipp(214) :
warning C4535: calling _set_se_translator() requires /EHa

C:\temp\regression2\boost\boost/test/impl/test_tools.ipp(442) : fatal error
C1903: unable to recover from previous error(s); stopping compilation

...failed compile-c-c++
C:\temp\regression2\results\boost\bin.v2\libs\asio\test\ip_basic_resolver_qu
ery.test\msvc\debug\threading-multi\basic_resolver_query.obj...

...skipped
<pC:\temp\regression2\results\boost\bin.v2\libs\asio\test\ip_basic_resolver_
query.test\msvc\debug\threading-multi>ip_basic_resolver_query.exe for lack
of
<pC:\temp\regression2\results\boost\bin.v2\libs\asio\test\ip_basic_resolver_
query.test\msvc\debug\threading-multi>basic_resolver_query.obj...

...failed updating 383 targets...

...skipped 981 targets...

...updated 15555 targets...

 

 

Boostbook.log files too:

 

warning: Graph library does not contain optional GraphML reader.

note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the

note: directories containing the Expat headers and libraries, respectively.

warning: skipping optional Message Passing Interface (MPI) library.

note: to enable MPI support, add "using mpi ;" to user-config.jam.

note: to suppress this message, pass "--without-mpi" to bjam.

note: otherwise, you can safely ignore this message.

Building Boost.Regex with the optional Unicode/ICU support disabled.

Please refer to the Boost.Regex documentation for more information

(don't panic: this is a strictly optional feature).

warning: No toolsets are configured.

warning: Configuring default toolset "msvc".

warning: If the default is wrong, you may not be able to build C++ programs.

warning: Use the "--toolset=xxxxx" option to override our guess.

warning: For more configuration options, please consult

warning:
http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

C:/temp/regression2/boost/tools/build/v2/tools\boostbook.jam:329: in
object(boostbook-generator)@219.run

warning: rulename $(base-target).depends expands to empty string

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:840: in
try-one-generator-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:902: in
try-one-generator

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1110: in
construct-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1186: in
generators.construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1398: in
construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1242: in
object(typed-target)@222.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:765: in
generate-really

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:738: in
object(main-target)@250.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:255: in
object(project-target)@218.generate

C:/temp/regression2/boost/tools/build/v2\build-system.jam:404: in load

C:\temp\regression2\boost\tools\build\v2/kernel\modules.jam:261: in import

C:\temp\regression2\boost\tools\build\v2/kernel/bootstrap.jam:132: in
boost-build

C:\temp\regression2\boost\boost-build.jam:9: in module scope

C:/temp/regression2/boost/tools/build/v2/tools\boostbook.jam:336: in
object(boostbook-generator)@219.run

warning: rulename $(target[2]).set-path expands to empty string

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:840: in
try-one-generator-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:902: in
try-one-generator

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1110: in
construct-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1186: in
generators.construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1398: in
construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1242: in
object(typed-target)@222.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:765: in
generate-really

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:738: in
object(main-target)@250.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:255: in
object(project-target)@218.generate

C:/temp/regression2/boost/tools/build/v2\build-system.jam:404: in load

C:\temp\regression2\boost\tools\build\v2/kernel\modules.jam:261: in import

C:\temp\regression2\boost\tools\build\v2/kernel/bootstrap.jam:132: in
boost-build

C:\temp\regression2\boost\boost-build.jam:9: in module scope

C:/temp/regression2/boost/tools/build/v2/tools\boostbook.jam:337: in
object(boostbook-generator)@219.run

warning: rulename $(target[2]).depends expands to empty string

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:840: in
try-one-generator-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:902: in
try-one-generator

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1110: in
construct-really

C:/temp/regression2/boost/tools/build/v2/build\generators.jam:1186: in
generators.construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1398: in
construct

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:1242: in
object(typed-target)@222.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:765: in
generate-really

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:738: in
object(main-target)@250.generate

C:/temp/regression2/boost/tools/build/v2/build\targets.jam:255: in
object(project-target)@218.generate

C:/temp/regression2/boost/tools/build/v2\build-system.jam:404: in load

C:\temp\regression2\boost\tools\build\v2/kernel\modules.jam:261: in import

C:\temp\regression2\boost\tools\build\v2/kernel/bootstrap.jam:132: in
boost-build

C:\temp\regression2\boost\boost-build.jam:9: in module scope

warn: Unable to construct ./doc

...found 1 target...

 

 

From: boost-testing-bounces_at_[hidden]
[mailto:boost-testing-bounces_at_[hidden]] On Behalf Of John Pavel
Sent: 03 November 2007 00:00
To: boost-testing_at_[hidden]
Subject: [Boost-testing] VC++ 2008 Beta 2, Regression Scripts Fails

 

I have tried running regression.py but it stops fairly quickly saying that
it is unable to find /boost/python/boost_python from ../libs/parameter/test.

 

Is this a known problem?

 

Are there any known patches for boost for VC++ 2008 B2?

 

Thanks, jrp



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