|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49696 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2008-11-12 03:44:38
Author: vladimir_prus
Date: 2008-11-12 03:44:37 EST (Wed, 12 Nov 2008)
New Revision: 49696
URL: http://svn.boost.org/trac/boost/changeset/49696
Log:
Kill --preserve-test-targets option. Introduce
preserve-test-targets feature.
Text files modified:
trunk/tools/build/v2/tools/testing.jam | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
Modified: trunk/tools/build/v2/tools/testing.jam
==============================================================================
--- trunk/tools/build/v2/tools/testing.jam (original)
+++ trunk/tools/build/v2/tools/testing.jam 2008-11-12 03:44:37 EST (Wed, 12 Nov 2008)
@@ -62,6 +62,7 @@
feature.feature testing.arg : : free incidental ;
feature.feature testing.input-file : : free dependency ;
+feature.feature preserve-test-targets : off on : incidental propagated ;
# Register target types.
type.register TEST : test ;
@@ -393,11 +394,6 @@
local argv = [ modules.peek : ARGV ] ;
-if --preserve-test-targets in $(argv)
-{
- preserve-test-targets = true ;
-}
-
toolset.flags testing.capture-output ARGS <testing.arg> ;
toolset.flags testing.capture-output INPUT_FILES <testing.input-file> ;
@@ -440,7 +436,7 @@
run-path-setup $(target) : $(source) : $(properties) ;
- if ! $(preserve-test-targets)
+ if [ feature.get-values preserve-test-targets : $(properties) ] = off
{
TEMPORARY $(targets-to-remove) ;
# Set a second action on target that will be executed after capture
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