Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2004-08-30 06:36:12


Aleksey Gurtovoy wrote:

> Definitely! I was thinking that might be calling it 'bjam-options'
> would be more precise, though. In any case, please post the patch!

See attached patch.

Markus


--- boost-cvs/tools/regression/xsl_reports/runner/regression.py Tue Aug 3 01:25:51 2004
+++ regression.py Fri Aug 27 07:28:55 2004
@@ -409,6 +409,7 @@
 
 def test(
           toolsets
+ , bjam_options
         , monitored
         , timeout
         , args
@@ -437,8 +438,9 @@
             rmtree( results_status )
 
         if "test" in args:
- test_cmd = '%s -d2 --dump-tests "-sALL_LOCATE_TARGET=%s" >>%s 2>&1' % (
+ test_cmd = '%s -d2 --dump-tests %s "-sALL_LOCATE_TARGET=%s" >>%s 2>&1' % (
                   bjam_command( toolsets )
+ , bjam_options
                 , regression_results
                 , regression_log
                 )
@@ -534,6 +536,7 @@
         , user
         , comment
         , toolsets
+ , bjam_options
         , bjam_toolset
         , pjl_toolset
         , incremental
@@ -558,7 +561,7 @@
             get_source( user, tag, proxy, [] )
 
         setup( comment, toolsets, bjam_toolset, pjl_toolset, monitored, proxy, [] )
- test( toolsets, monitored, timeout, [] )
+ test( toolsets, bjam_options, monitored, timeout, [] )
         collect_logs( tag, runner, platform, user, comment, incremental, [] )
         upload_logs( tag, runner, user )
         update_itself()
@@ -601,6 +604,7 @@
         , 'user='
         , 'comment='
         , 'toolsets='
+ , 'bjam-options='
         , 'bjam-toolset='
         , 'pjl-toolset='
         , 'timeout='
@@ -616,6 +620,7 @@
         , '--platform' : sys.platform
         , '--user' : None
         , '--comment' : None
+ , '--bjam-options' : None
         , '--toolsets' : None
         , '--bjam-toolset' : None
         , '--pjl-toolset' : None
@@ -640,6 +645,7 @@
         , 'user' : options[ '--user' ]
         , 'comment' : options[ '--comment' ]
         , 'toolsets' : options[ '--toolsets' ]
+ , 'bjam_options' : options[ '--bjam-options' ]
         , 'bjam_toolset' : options[ '--bjam-toolset' ]
         , 'pjl_toolset' : options[ '--pjl-toolset' ]
         , 'incremental' : options.has_key( '--incremental' )
@@ -683,6 +689,7 @@
 \t default)
 \t--user SourceForge user name for a shell/CVS account (optional)
 \t--toolsets comma-separated list of toolsets to test with (optional)
+\t--bjam-options options to pass to the regression test (optional)
 \t--bjam-toolset bootstrap toolset for 'bjam' executable (optional)
 \t--pjl-toolset bootstrap toolset for 'process_jam_log' executable
 \t (optional)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk