|
Boost Testing : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-26 03:11:32
Reece Dunn wrote:
> 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;
This should not matter, as "msvc" will be the same as the first configured
version. The problem is that regression.py uses "mvsc" as default toolset
-- note the wrong spelling.
But I guess you've figured that already ;-)
> * 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).
Seems like regression. I'll look into this.
>
> 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
No, the first sequence is fine.
- Volodya