Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70748 - trunk/libs/spirit/test
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-30 07:29:59


Author: hkaiser
Date: 2011-03-30 07:29:59 EDT (Wed, 30 Mar 2011)
New Revision: 70748
URL: http://svn.boost.org/trac/boost/changeset/70748

Log:
Spirit: fixing tests to actually run both test suites (Phoenix V2 and V3)
Text files modified:
   trunk/libs/spirit/test/Jamfile | 5 ++---
   1 files changed, 2 insertions(+), 3 deletions(-)

Modified: trunk/libs/spirit/test/Jamfile
==============================================================================
--- trunk/libs/spirit/test/Jamfile (original)
+++ trunk/libs/spirit/test/Jamfile 2011-03-30 07:29:59 EDT (Wed, 30 Mar 2011)
@@ -16,7 +16,7 @@
 ###############################################################################
 # new feature definition allowing to switch between Phoenix V2 and V3 tests
 feature.feature phoenix_v3
- : on
+ : off on
     : composite propagated
     ;
 
@@ -43,8 +43,7 @@
 rule run ( sources + : args * : input-files * : requirements * : target-name ? : default-build * )
 {
     target-name ?= $(sources[1]:D=:S=) ;
- local r = [ testing.run $(sources) : $(args) : $(input-files) : $(requirements) : $(target-name)-p2 : $(default-build) ] ;
- v2_tests += $(r) ;
+ v2_tests += [ testing.run $(sources) : $(args) : $(input-files) : $(requirements) : $(target-name)-p2 : $(default-build) ] ;
     v3_tests += [ testing.run $(sources) : $(args) : $(input-files) : $(requirements) <phoenix_v3>on : $(target-name)-p3 : $(default-build) ] ;
 }
 


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