Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2007-12-01 14:07:22


Author: vladimir_prus
Date: 2007-12-01 14:07:22 EST (Sat, 01 Dec 2007)
New Revision: 41542
URL: http://svn.boost.org/trac/boost/changeset/41542

Log:
Add <testing.arg> functionality to unit-test rule.

Patch from Mark Desnoyer.

Text files modified:
   trunk/tools/build/v2/tools/testing.jam | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/testing.jam
==============================================================================
--- trunk/tools/build/v2/tools/testing.jam (original)
+++ trunk/tools/build/v2/tools/testing.jam 2007-12-01 14:07:22 EST (Sat, 01 Dec 2007)
@@ -490,6 +490,7 @@
 MAKE_FILE = [ common.file-creation-command ] ;
 
 toolset.flags testing.unit-test LAUNCHER <testing.launcher> ;
+toolset.flags testing.unit-test ARGS <testing.arg> ;
 rule unit-test ( target : source : properties * )
 {
     run-path-setup $(target) : $(source) : $(properties) ;
@@ -498,7 +499,7 @@
 actions unit-test
 {
     $(PATH_SETUP)
- $(LAUNCHER) $(>) && $(MAKE_FILE) $(<)
+ $(LAUNCHER) $(>) $(ARGS) && $(MAKE_FILE) $(<)
 }
 
 IMPORT $(__name__) : compile compile-fail run run-fail link link-fail


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