Boost logo

Boost Testing :

From: Goncalo N M de Carvalho (glslang_at_[hidden])
Date: 2005-07-20 16:00:50


Hey,

Sorry for the delay...

> > The syntax of the command is incorrect.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Hmm, I can't reproduce this one. Could you try to
> invoke 'build.bat'
> manually and report the results?
>

Sure. Doing an echo on at the beginning of build.bat
gives the following:

F:\Boost_Regression\boost\tools\build\jam_src>REM ~
Copyright 2002-2005 Rene Rivera.

F:\Boost_Regression\boost\tools\build\jam_src>REM ~
Distributed under the Boost Software License, Version
1.0.

F:\Boost_Regression\boost\tools\build\jam_src>REM ~
(See accompanying file LICENSE_1_0.txt or
http://www.boost.org/LICENSE_1_0.txt)

F:\Boost_Regression\boost\tools\build\jam_src>setlocal

F:\Boost_Regression\boost\tools\build\jam_src>goto
Start

F:\Boost_Regression\boost\tools\build\jam_src>set
BOOST_JAM_TOOLSET=

F:\Boost_Regression\boost\tools\build\jam_src>REM If
no arguments guess the toolset;

F:\Boost_Regression\boost\tools\build\jam_src>REM or
if first argument is an option guess the toolset;

F:\Boost_Regression\boost\tools\build\jam_src>REM
otherwise the argument is the toolset to use.

F:\Boost_Regression\boost\tools\build\jam_src>if "__"
== "__" (
call :Guess_Toolset
 if not errorlevel 1 goto Setup_Toolset
) else (
call :Test_Option
 if not errorlevel 1 (
call :Guess_Toolset
 if not errorlevel 1 goto Setup_Toolset
) else (setlocal & endlocal
 set BOOST_JAM_TOOLSET=
 shift
 goto Setup_Toolset )
)

F:\Boost_Regression\boost\tools\build\jam_src>REM Try
and guess the toolset to bootstrap the build with...

F:\Boost_Regression\boost\tools\build\jam_src>REM Sets
BOOST_JAM_TOOLSET to the first found toolset.

F:\Boost_Regression\boost\tools\build\jam_src>REM May
also set BOOST_JAM_TOOLSET_ROOT to the

F:\Boost_Regression\boost\tools\build\jam_src>REM
location of the found toolset.

F:\Boost_Regression\boost\tools\build\jam_src>setlocal
  & endlocal

F:\Boost_Regression\boost\tools\build\jam_src>if NOT
"_C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\_" == "__" (
set BOOST_JAM_TOOLSET=vc7
 set BOOST_JAM_TOOLSET_ROOT=C:\Program Files\Microsoft
Visual Studio .NET 2003\Common7\Tools\\..\..\VC7\
 goto :eof
)

F:\Boost_Regression\boost\tools\build\jam_src>REM
Setup the toolset command and options. This bit of
code

F:\Boost_Regression\boost\tools\build\jam_src>REM
needs to be flexible enough to handle both when

F:\Boost_Regression\boost\tools\build\jam_src>REM the
toolset was guessed at and found, or when the toolset

F:\Boost_Regression\boost\tools\build\jam_src>REM was
indicated in the command arguments.

F:\Boost_Regression\boost\tools\build\jam_src>REM
NOTE: The strange multiple "if ?? == _toolset_" tests
are that way

F:\Boost_Regression\boost\tools\build\jam_src>REM
because in BAT variables are subsituted only once
during a single

F:\Boost_Regression\boost\tools\build\jam_src>REM
command. A complete "if ... ( commands ) else (
commands )"

F:\Boost_Regression\boost\tools\build\jam_src>REM is a
single command, even though it's in multiple lines
here.

F:\Boost_Regression\boost\tools\build\jam_src>if
"_vc7_" == "_metrowerks_" (if NOT "__" == "__" (set
BOOST_JAM_TOOLSET_ROOT=\ ) )

F:\Boost_Regression\boost\tools\build\jam_src>

Cheers,

Goncalo

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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