|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-01-08 23:30:25
Author: jurko
Date: 2008-01-08 23:30:25 EST (Tue, 08 Jan 2008)
New Revision: 42631
URL: http://svn.boost.org/trac/boost/changeset/42631
Log:
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).
Text files modified:
trunk/tools/build/v2/test/module-actions/bootstrap.jam | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/test/module-actions/bootstrap.jam
==============================================================================
--- trunk/tools/build/v2/test/module-actions/bootstrap.jam (original)
+++ trunk/tools/build/v2/test/module-actions/bootstrap.jam 2008-01-08 23:30:25 EST (Tue, 08 Jan 2008)
@@ -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 @@
DEPENDS all : $(target) ;
DEPENDS $(target) : $(sources) ;
$(act) $(target) : $(sources) ;
+ __ACTION_RULE__ on $(target) = display-action-output ;
}
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