|
Boost Testing : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-02-22 17:23:11
Vladimir Prus wrote:
>The attached version should fix this, by making "msvc" default toolset on
>windows when --v2 is specified.
However, I am getting the following errors:
...updated 1 target...
# Searching for "bjam.exe" in "C:\devel\regression\boost\tools\jam\src"...
# bjam.exe succesfully built in
"C:\devel\regression\boost\tools\jam\src\bin.ntx
86\bjam.exe" location
# Preinstalled "C:\devel\regression\process_jam_log.exe" is not found;
building
one...
# Warning: No bootstrap toolset for "process_jam_log.exe" was specified.
# Using default toolset for the platform (mvsc).
# Found "process_jam_log.exe" source directory
"C:\devel\regression\boost\tools\
regression\build"
# Building "process_jam_log.exe"
("C:\devel\regression\boost\tools\jam\src\bin.n
tx86\bjam.exe" --v2 "-sBOOST_BUILD_PATH=C:\devel\regression"
"-sBOOST_ROOT=C:\de
vel\regression\boost" mvsc)...
C:\devel\regression>cd "C:\devel\regression\boost\tools\regression\build"
C:\devel\regression\boost\tools\regression\build>"C:\devel\regression\boost\tool
s\jam\src\bin.ntx86\bjam.exe" --v2 "-sBOOST_BUILD_PATH=C:\devel\regression"
"-sB
OOST_ROOT=C:\devel\regression\boost" mvsc
warning: toolset python initialization: can't find tool python2.4
warning: initialized from
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
notice: could not find main target mvsc
notice: assuming it's a name of file to create
don't know how to make <e>mvsc
...found 1 target...
...can't find 1 target...
# Searching for "process_jam_log.exe" in
"C:\devel\regression\boost\bin.v2\tools
\regression\build"...
Traceback (most recent call last):
File "./regression.py", line 918, in ?
commands[ command ]( **accept_args( args ) )
File "./regression.py", line 450, in setup
build_if_needed( process_jam_log, pjl_toolset, toolsets, v2 )
File "./regression.py", line 399, in build_if_needed
tool[ 'build_path' ] = tool_path( tool, v2 )
File "./regression.py", line 360, in tool_path
raise Exception( 'Cannot find "%s" in any of the following
locations:\n%s' %
(
Exception: Cannot find "process_jam_log.exe" in any of the following
locations:
C:\devel\regression\process_jam_log.exe
My user-config.jam looks like this:
import toolset : using ;
using boostbook
: c:/cygwin/usr/share/docbook-xsl
: c:/cygwin/usr/share/xml/docbook/4.2
;
using python : 2.4 : c:/python24 ;
using msvc : 7.1 ; # VS.NET 2003
using msvc : 8.0 ; # VS.NET 2005
The two problems are:
* process_jam_log.exe is trying to be built with msvc, but I only have
versioned variants of msvc;
* the python tool is attempting to be initialized with python<version>.exe,
whereas it is python.exe. Is this a regression as I had python being
detected properly on previous runs (but I wasn't using regression.py that
time, although this should only be a BBv2 problem introduced over the last
day or so).
NOTE: I am using:
c:/python24/python ./regression.py get-source
c:/python24/python ./regression.py setup --v2
c:/python24/python ./regression.py test --v2 --toolsets=msvc-7.1
c:/python24/python ./regression.py collect-logs --v2
to run the regressions. Do I need:
c:/python24/python ./regression.py setup --v2 --toolsets=msvc-7.1
instead?
- Reece