|
Boost Testing : |
From: Niko Demmel (niko.demmel_at_[hidden])
Date: 2007-10-23 17:23:54
On 23/10/2007 21:59, Boris Gubenko wrote:
> Niko Demmel wrote:
>
>> I'm having the same issue. Is there are workaround?
>>
>
> Yes. Copy process_jam_log to directory from which you are running
> the tests.
>
> Boris
>
I seem to have a different (or another) problem. process_jam_log isn't
even built. I guess from the output that something's not right with the
toolset configuration ("warning: No toolsets are configured."). Here is
what I invoke and the output I get. Does anyone know whats going wrong?
(I built boost 1_34_1 without problems).
noname:~/boost_reg_test demmel$ python regression.py
--runner=NikolausDemmel_Darwin8_10_Intel --v2 --toolsets=darwin
--local=boost-trunk.tar.bz2
# Using local file "boost-trunk.tar.bz2"
# Tag: "boost-trunk"
# Looking for old unpacked archives...
# Unpacking boost tarball ("boost-trunk.tar.bz2")...
# Unpacked into directory
"/Users/demmel/boost_reg_test/boost-trunk-07-08-27-0433"
# Deleting "/Users/demmel/boost_reg_test/boost" directory...
# Renaming "/Users/demmel/boost_reg_test/boost-trunk-07-08-27-0433" into
"/Users/demmel/boost_reg_test/boost"
# Preinstalled "/Users/demmel/boost_reg_test/bjam" is not found;
building one...
# Found "bjam" source directory
"/Users/demmel/boost_reg_test/boost/tools/jam/src"
# Building "bjam" (./build.sh darwin)...
###
### Using 'darwin' toolset.
###
rm -rf bootstrap
mkdir bootstrap
cc -o bootstrap/jam0 command.c compile.c debug.c execunix.c expand.c
fileunix.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c
lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c
pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c
variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c
native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c
modules/property-set.c modules/sequence.c modules/order.c execnt.c filent.c
./bootstrap/jam0 -f build.jam --toolset=darwin --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=darwin --toolset-root=
...found 47 targets...
...updating 2 targets...
[MKDIR] bin.macosxx86
[COMPILE] bin.macosxx86/bjam
...updated 2 targets...
# Searching for "bjam" in
"/Users/demmel/boost_reg_test/boost/tools/jam/src"...
# bjam succesfully built in
"/Users/demmel/boost_reg_test/boost/tools/jam/src/bin.macosxx86/bjam"
location
# Preinstalled "/Users/demmel/boost_reg_test/process_jam_log" is not
found; building one...
# Found "process_jam_log" source directory
"/Users/demmel/boost_reg_test/boost/tools/regression/build"
# Building "process_jam_log"
("/Users/demmel/boost_reg_test/boost/tools/jam/src/bin.macosxx86/bjam"
--v2 "-sBOOST_BUILD_PATH=/Users/demmel/boost_reg_test"
"-sBOOST_ROOT=/Users/demmel/boost_reg_test/boost" darwin)...
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.
warning: Python location is not configured
warning: the Boost.Python library won't be built
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 "gcc".
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
notice: could not find main target darwin
notice: assuming it's a name of file to create
don't know how to make <e>darwin
...found 1 target...
...can't find 1 target...
# Searching for "process_jam_log" in
"/Users/demmel/boost_reg_test/boost/dist/bin"...
Traceback (most recent call last):
File "regression.py", line 1017, in ?
commands[ command ]( **accept_args( args ) )
File "regression.py", line 810, in regression
v2, [] )
File "regression.py", line 459, in setup
build_if_needed( process_jam_log, pjl_toolset, toolsets, v2 )
File "regression.py", line 405, in build_if_needed
tool[ 'build_path' ] = tool_path( tool, v2 )
File "regression.py", line 366, in tool_path
raise Exception( 'Cannot find "%s" in any of the following
locations:\n%s' % (
Exception: Cannot find "process_jam_log" in any of the following locations:
/Users/demmel/boost_reg_test/process_jam_log
/Users/demmel/boost_reg_test/boost/dist/bin
>
> <snip>
>
>