Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81297 - trunk/libs/test/test
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-11 07:08:54


Author: rogeeff
Date: 2012-11-11 07:08:53 EST (Sun, 11 Nov 2012)
New Revision: 81297
URL: http://svn.boost.org/trac/boost/changeset/81297

Log:
new C++11 specific target
Text files modified:
   trunk/libs/test/test/Jamfile.v2 | 6 ++++--
   1 files changed, 4 insertions(+), 2 deletions(-)

Modified: trunk/libs/test/test/Jamfile.v2
==============================================================================
--- trunk/libs/test/test/Jamfile.v2 (original)
+++ trunk/libs/test/test/Jamfile.v2 2012-11-11 07:08:53 EST (Sun, 11 Nov 2012)
@@ -6,7 +6,7 @@
 # See http://www.boost.org/libs/test for the library home page.
 
 
-rule test-btl-lib ( test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? )
+rule test-btl-lib ( test-rule : test-name : lib-name ? : pattern_file * : source_files * : extra-libs ? : extra-options ? )
 {
    source_files ?= $(test-name).cpp ;
 
@@ -24,6 +24,7 @@
               <toolset>msvc-6.5:<link>static
               <toolset>msvc-8.0:<define>_SCL_SECURE_NO_DEPRECATE
               <warnings>all
+ $(extra-options)
             : $(test-name)
           ] ;
 }
@@ -85,7 +86,8 @@
           [ test-btl-lib run : test_tree_management_test : boost_unit_test_framework ]
           [ test-btl-lib run : run_by_name_label_test : boost_unit_test_framework/<link>static ]
           [ test-btl-lib run : test_assertion_construction : boost_unit_test_framework/<link>static ]
- [ test-btl-lib run : test_datasets : boost_unit_test_framework/<link>static : : [ glob test_datasets_src/*.cpp ] ]
+ [ test-btl-lib run : test_datasets : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : ]
+ [ test-btl-lib run : test_datasets_cxx11 : boost_unit_test_framework : : [ glob test_datasets_src/*.cpp ] : : <toolset>gcc:<cxxflags>-std=gnu++0x ]
         ;
 
 test-suite "multithreaded_test"


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