2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00

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

Patch from Mark Desnoyer.


[SVN r41542]
This commit is contained in:
Vladimir Prus
2007-12-01 19:07:22 +00:00
parent 32fb0f506b
commit e34d2c5d9e

View File

@@ -490,6 +490,7 @@ actions quietly updated ignore piecemeal together RmTemps
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 @@ rule unit-test ( target : source : properties * )
actions unit-test
{
$(PATH_SETUP)
$(LAUNCHER) $(>) && $(MAKE_FILE) $(<)
$(LAUNCHER) $(>) $(ARGS) && $(MAKE_FILE) $(<)
}
IMPORT $(__name__) : compile compile-fail run run-fail link link-fail