Update of /cvsroot/boost/boost/tools/regression/xsl_reports/runner
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24520

Modified Files:
        regression.py 
Log Message:
Proper v2 toolset specification, make --v2 a default option (merged from 
RC_1_34_0)

Index: regression.py
===================================================================
RCS file: 
/cvsroot/boost/boost/tools/regression/xsl_reports/runner/regression.py,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- regression.py       1 Sep 2006 07:12:13 -0000       1.66
+++ regression.py       12 Dec 2006 16:47:12 -0000      1.67
@@ -494,7 +494,7 @@
 
     if not toolsets is None:
         if v2:
-            result += ' ' + string.join(string.split( toolsets, ',' ), ' ' )
+            result += ' "--toolset=%s"' % toolsets
         else:
             result += ' "-sTOOLS=%s"' % string.join( string.split( toolsets, 
',' ), ' ' )
 
@@ -727,7 +727,7 @@
         , proxy = None
         , ftp_proxy = None
         , debug_level = 0
-        , v2 = 0
+        , v2 = 1
         , args = []
         ):
 
@@ -823,6 +823,7 @@
         , 'monitored'
         , 'help'
         , 'v2'
+        , 'v1'
         ]
 
     options = {
@@ -870,7 +871,7 @@
         , 'proxy'           : options[ '--proxy' ]
         , 'ftp_proxy'       : options[ '--ftp-proxy' ]
         , 'debug_level'     : int(options[ '--debug-level' ])
-        , 'v2'              : options.has_key( '--v2' )
+        , 'v2'              : not options.has_key( '--v1' )
         , 'args'            : other_args
         }
 
@@ -922,7 +923,8 @@
 \t--ftp-proxy     FTP proxy server (e.g. 'ftpproxy', optional)
 \t--debug-level   debugging level; controls the amount of debugging
 \t                output printed; 0 by default (no debug output)
-\t--v2            Use Boost.Build V2
+\t--v1            Use Boost.Build V1
+\t--v2            Use Boost.Build V2 (default)
 ''' % '\n\t'.join( commands.keys() )
 
     print 'Example:\n\t%s --runner=Metacomm\n' % os.path.basename( sys.argv[0] 
)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to