diff --git a/src/tools/testing.jam b/src/tools/testing.jam index 16124e533..6a9c8407d 100644 --- a/src/tools/testing.jam +++ b/src/tools/testing.jam @@ -490,6 +490,7 @@ actions quietly updated ignore piecemeal together RmTemps MAKE_FILE = [ common.file-creation-command ] ; toolset.flags testing.unit-test LAUNCHER ; +toolset.flags testing.unit-test ARGS ; 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