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

Fixed a failing test by making it access its action results using the __ACTION_RULE__ rule. Now it works with the default debug level settings (i.e. no action output displayed).

[SVN r42631]
This commit is contained in:
Jurko Gospodnetić
2008-01-09 04:30:25 +00:00
parent e8474dd69f
commit 28ee146607

View File

@@ -6,6 +6,16 @@
# Demonstration that module variables have the right effect in actions.
rule display-action-output ( args * : target
: command status start end user system : output-lines * )
{
for local line in $(output-lines)
{
ECHO $(line) ;
}
}
# Top-level rule that causes a target to be built by invoking the specified
# action.
rule make ( target : sources * : act )
@@ -13,6 +23,7 @@ rule make ( target : sources * : act )
DEPENDS all : $(target) ;
DEPENDS $(target) : $(sources) ;
$(act) $(target) : $(sources) ;
__ACTION_RULE__ on $(target) = display-action-output ;
}