Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77772 - trunk/libs/conversion/test
From: antoshkka_at_[hidden]
Date: 2012-04-04 23:53:59


Author: apolukhin
Date: 2012-04-04 23:53:58 EDT (Wed, 04 Apr 2012)
New Revision: 77772
URL: http://svn.boost.org/trac/boost/changeset/77772

Log:
Lexical_cast test's Jamfile has been rewritten (boost license is now explicitly defined, disabled build of typedefed_wchar_runtime for unsupported targets, nicer and more compact jamfile instructions)
Text files modified:
   trunk/libs/conversion/test/Jamfile.v2 | 60 ++++++++++++++++++++--------------------
   1 files changed, 30 insertions(+), 30 deletions(-)

Modified: trunk/libs/conversion/test/Jamfile.v2
==============================================================================
--- trunk/libs/conversion/test/Jamfile.v2 (original)
+++ trunk/libs/conversion/test/Jamfile.v2 2012-04-04 23:53:58 EDT (Wed, 04 Apr 2012)
@@ -1,50 +1,50 @@
-# Signals library
-
 # Copyright (C) 2001-2003 Douglas Gregor
+# Copyright (C) 2011-2012 Antony Polukhin
+#
+# Distributed under the Boost Software License, Version 1.0. (See accompanying
+# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+#
 
-# Permission to copy, use, sell and distribute this software is granted
-# provided this copyright notice appears in all copies. Permission to modify
-# the code and to distribute modified code is granted provided this copyright
-# notice appears in all copies, and a notice that the code was modified is
-# included with the copyright notice. This software is provided "as is"
-# without express or implied warranty, and with no claim as to its suitability
-# for any purpose.
-
-# For more information, see http://www.boost.org/
-
-# bring in rules for testing
 import testing ;
 import feature ;
 
+project
+ : requirements
+ <library>/boost/test//boost_unit_test_framework
+ <link>static
+ ;
+
+# Thanks to Steven Watanabe for helping with <nowchar> feature
 feature.feature nowchar : on :
  composite optional propagated link-incompatible ;
-feature.compose <nowchar>on : <cxxflags>/Zc:wchar_t- ;
+feature.compose <nowchar>on : <cxxflags>/Zc:wchar_t- ;
  
 test-suite conversion
   : [ run implicit_cast.cpp ]
     [ compile-fail implicit_cast_fail.cpp ]
     [ run ../cast_test.cpp ]
     [ run ../numeric_cast_test.cpp ]
- [ run ../lexical_cast_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_loopback_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_abstract_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_noncopyable_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_vc8_bug_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_wchars_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_float_types_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_inf_nan_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_containers_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_empty_input_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- [ run lexical_cast_pointers_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
+ [ run ../lexical_cast_test.cpp ]
+ [ run lexical_cast_loopback_test.cpp ]
+ [ run lexical_cast_abstract_test.cpp ]
+ [ run lexical_cast_noncopyable_test.cpp ]
+ [ run lexical_cast_vc8_bug_test.cpp ]
+ [ run lexical_cast_wchars_test.cpp ]
+ [ run lexical_cast_float_types_test.cpp ]
+ [ run lexical_cast_inf_nan_test.cpp ]
+ [ run lexical_cast_containers_test.cpp ]
+ [ run lexical_cast_empty_input_test.cpp ]
+ [ run lexical_cast_pointers_test.cpp ]
     [ compile lexical_cast_typedefed_wchar_test.cpp : <toolset>msvc:<nowchar>on ]
- [ run lexical_cast_typedefed_wchar_test_runtime.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <toolset>msvc:<nowchar>on ]
- [ run lexical_cast_no_locale_test.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <define>BOOST_NO_STD_LOCALE <define>BOOST_LEXICAL_CAST_ASSUME_C_LOCALE ]
- [ run lexical_cast_no_exceptions_test.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <define>BOOST_NO_EXCEPTIONS
+ [ run lexical_cast_typedefed_wchar_test_runtime.cpp : : : <toolset>msvc:<nowchar>on <toolset>msvc,<stdlib>stlport:<build>no ]
+ [ run lexical_cast_no_locale_test.cpp : : : <define>BOOST_NO_STD_LOCALE <define>BOOST_LEXICAL_CAST_ASSUME_C_LOCALE ]
+ [ run lexical_cast_no_exceptions_test.cpp : : : <define>BOOST_NO_EXCEPTIONS
       <toolset>gcc-4.3:<cflags>-fno-exceptions
       <toolset>gcc-4.4:<cflags>-fno-exceptions
       <toolset>gcc-4.5:<cflags>-fno-exceptions
       <toolset>gcc-4.6:<cflags>-fno-exceptions
+ <toolset>gcc-4.7:<cflags>-fno-exceptions
     ]
- [ run lexical_cast_iterator_range_test.cpp ../../test/build//boost_unit_test_framework/<link>static ]
- ;
+ [ run lexical_cast_iterator_range_test.cpp ]
+ ;
 


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