1# Function library 2 3# Copyright Douglas Gregor 2001-2003. Use, modification and 4# distribution is subject to the Boost Software License, Version 5# 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6# http://www.boost.org/LICENSE_1_0.txt) 7 8# For more information, see http://www.boost.org/ 9 10import testing ; 11 12run function_test.cpp ; 13# /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti 14run function_test.cpp : : : <rtti>off <toolset>gcc-4.4.7,<cxxstd>0x:<build>no : function_test_no_rtti ; 15run function_n_test.cpp ; 16run allocator_test.cpp ; 17run stateless_test.cpp ; 18run lambda_test.cpp ; 19compile-fail function_test_fail1.cpp ; 20compile-fail function_test_fail2.cpp ; 21compile function_30.cpp ; 22compile function_30_repeat.cpp ; 23run function_arith_cxx98.cpp ; 24run function_arith_portable.cpp ; 25run sum_avg_cxx98.cpp ; 26run sum_avg_portable.cpp ; 27run mem_fun_cxx98.cpp ; 28run mem_fun_portable.cpp ; 29run std_bind_cxx98.cpp ; 30run std_bind_portable.cpp ; 31run function_ref_cxx98.cpp ; 32run function_ref_portable.cpp ; 33run contains_test.cpp ; 34run contains2_test.cpp ; 35run nothrow_swap.cpp ; 36run rvalues_test.cpp ; 37compile function_typeof_test.cpp ; 38run result_arg_types_test.cpp ; 39 40lib throw_bad_function_call : throw_bad_function_call.cpp : <link>shared:<define>THROW_BAD_FUNCTION_CALL_DYN_LINK=1 ; 41 42run test_bad_function_call.cpp throw_bad_function_call : : : <link>shared : test_bad_function_call_shared ; 43run test_bad_function_call.cpp throw_bad_function_call : : : <link>static : test_bad_function_call_static ; 44 45lib mixed_cxxstd : mixed_cxxstd.cpp : <link>shared:<define>MIXED_CXXSTD_DYN_LINK=1 ; 46 47run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>shared : mixed_cxxstd_shared ; 48run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>static : mixed_cxxstd_static ; 49 50run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>shared : mixed_cxxstd_shared_98 ; 51run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>static : mixed_cxxstd_static_98 ; 52 53run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>shared : mixed_cxxstd_shared_0x ; 54run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>static : mixed_cxxstd_static_0x ; 55 56local check14 = [ check-target-builds mixed_cxxstd/<cxxstd>14 : : <build>no ] ; 57 58run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>shared $(check14) : mixed_cxxstd_shared_14 ; 59run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>static $(check14) : mixed_cxxstd_static_14 ; 60 61lib return_function : return_function.cpp : <link>shared:<define>RETURN_FUNCTION_DYN_LINK=1 ; 62 63run test_return_function.cpp return_function : : : <link>shared : return_function_shared ; 64run test_return_function.cpp return_function : : : <link>static : return_function_static ; 65 66run test_return_function.cpp return_function/<cxxstd>98 : : : <link>shared : return_function_shared_98 ; 67run test_return_function.cpp return_function/<cxxstd>98 : : : <link>static : return_function_static_98 ; 68 69run test_return_function.cpp return_function/<cxxstd>0x : : : <link>shared : return_function_shared_0x ; 70run test_return_function.cpp return_function/<cxxstd>0x : : : <link>static : return_function_static_0x ; 71 72run test_return_function.cpp return_function/<cxxstd>14 : : : <link>shared $(check14) : return_function_shared_14 ; 73run test_return_function.cpp return_function/<cxxstd>14 : : : <link>static $(check14) : return_function_static_14 ; 74 75run quick.cpp ; 76