|
Boost-Commit : |
From: grafikrobot_at_[hidden]
Date: 2007-11-21 14:29:56
Author: grafik
Date: 2007-11-21 14:29:55 EST (Wed, 21 Nov 2007)
New Revision: 41287
URL: http://svn.boost.org/trac/boost/changeset/41287
Log:
Fix search for Boost.Build so that it only finds the approved version.
Text files modified:
trunk/tools/regression/src/regression.py | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
Modified: trunk/tools/regression/src/regression.py
==============================================================================
--- trunk/tools/regression/src/regression.py (original)
+++ trunk/tools/regression/src/regression.py 2007-11-21 14:29:55 EST (Wed, 21 Nov 2007)
@@ -27,7 +27,9 @@
'release' : 'branches/release',
'build' : 'trunk/tools/build/v2',
'jam' : 'tags/tools/jam/Boost_Jam_3_1_15/src',
- 'regression' : 'trunk/tools/regression'
+ 'regression' : 'trunk/tools/regression',
+ 'boost-build.jam'
+ : 'trunk/boost-build.jam'
}
class runner:
@@ -244,6 +246,13 @@
self.unpack_tarball(
self.tools_regression_root+".tar.bz2",
os.path.basename(self.tools_regression_root) )
+
+ #~ We get a boost-build.jam to make the tool build work even if there's
+ #~ and existing boost-build.jam above the testing root.
+ self.log( 'Getting boost-build.jam...' )
+ self.http_get(
+ self.svn_repository_url(repo_path['boost-build.jam']),
+ os.path.join( self.regression_root, 'boost-build.jam' ) )
def command_get_source(self):
self.refresh_timestamp()
@@ -608,9 +617,17 @@
if self.timeout > 0:
args += ' -l%s' % (self.timeout*60)
- cmd = '"%(bjam)s" "-sBOOST_BUILD_PATH=%(bb)s" "-sBOOST_ROOT=%(boost)s" "--boost=%(boost)s" %(arg)s' % {
+ cmd = '"%(bjam)s"' +\
+ ' "-sBOOST_BUILD_PATH=%(bbpath)s"' +\
+ ' "-sBOOST_ROOT=%(boost)s"' +\
+ ' "--boost=%(boost)s"' +\
+ ' "--boost-build=%(bb)s"' +\
+ ' "--debug-configuration"' +\
+ ' %(arg)s'
+ cmd %= {
'bjam' : self.tool_path( self.bjam ),
- 'bb' : os.pathsep.join([build_path,self.tools_bb_root]),
+ 'bbpath' : os.pathsep.join([build_path,self.tools_bb_root]),
+ 'bb' : self.tools_bb_root,
'boost' : self.boost_root,
'arg' : args }
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk