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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user