]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/function/test/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / function / test / Jamfile.v2
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
10 import testing ;
11
12 project
13 : default-build
14 <warnings>extra
15 : requirements
16 <toolset>msvc:<warnings-as-errors>on
17 <toolset>gcc:<warnings-as-errors>on
18 <toolset>clang:<warnings-as-errors>on
19 ;
20
21 run function_test.cpp ;
22 # /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
23 run function_test.cpp : : : <rtti>off <toolset>gcc-4.4.7,<cxxstd>0x:<build>no : function_test_no_rtti ;
24 run function_n_test.cpp ;
25 run allocator_test.cpp ;
26 run stateless_test.cpp ;
27 run lambda_test.cpp ;
28 compile-fail function_test_fail1.cpp ;
29 compile-fail function_test_fail2.cpp ;
30 compile function_30.cpp ;
31 compile function_30_repeat.cpp ;
32 run function_arith_cxx98.cpp ;
33 run function_arith_portable.cpp ;
34 run sum_avg_cxx98.cpp ;
35 run sum_avg_portable.cpp ;
36 run mem_fun_cxx98.cpp ;
37 run mem_fun_portable.cpp ;
38 run std_bind_cxx98.cpp ;
39 run std_bind_portable.cpp ;
40 run function_ref_cxx98.cpp ;
41 run function_ref_portable.cpp ;
42 run contains_test.cpp ;
43 run contains2_test.cpp ;
44 run nothrow_swap.cpp ;
45 run rvalues_test.cpp ;
46 compile function_typeof_test.cpp ;
47 run result_arg_types_test.cpp ;
48
49 lib throw_bad_function_call : throw_bad_function_call.cpp : <link>shared:<define>THROW_BAD_FUNCTION_CALL_DYN_LINK=1 ;
50
51 run test_bad_function_call.cpp throw_bad_function_call : : : <link>shared : test_bad_function_call_shared ;
52 run test_bad_function_call.cpp throw_bad_function_call : : : <link>static : test_bad_function_call_static ;
53
54 lib mixed_cxxstd : mixed_cxxstd.cpp : <link>shared:<define>MIXED_CXXSTD_DYN_LINK=1 ;
55
56 run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>shared : mixed_cxxstd_shared ;
57 run test_mixed_cxxstd.cpp mixed_cxxstd : : : <link>static : mixed_cxxstd_static ;
58
59 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>shared : mixed_cxxstd_shared_98 ;
60 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>98 : : : <link>static : mixed_cxxstd_static_98 ;
61
62 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>shared : mixed_cxxstd_shared_0x ;
63 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>0x : : : <link>static : mixed_cxxstd_static_0x ;
64
65 local check14 = [ check-target-builds mixed_cxxstd/<cxxstd>14 : : <build>no ] ;
66
67 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>shared $(check14) : mixed_cxxstd_shared_14 ;
68 run test_mixed_cxxstd.cpp mixed_cxxstd/<cxxstd>14 : : : <link>static $(check14) : mixed_cxxstd_static_14 ;
69
70 lib return_function : return_function.cpp : <link>shared:<define>RETURN_FUNCTION_DYN_LINK=1 ;
71
72 run test_return_function.cpp return_function : : : <link>shared : return_function_shared ;
73 run test_return_function.cpp return_function : : : <link>static : return_function_static ;
74
75 run test_return_function.cpp return_function/<cxxstd>98 : : : <link>shared : return_function_shared_98 ;
76 run test_return_function.cpp return_function/<cxxstd>98 : : : <link>static : return_function_static_98 ;
77
78 run test_return_function.cpp return_function/<cxxstd>0x : : : <link>shared : return_function_shared_0x ;
79 run test_return_function.cpp return_function/<cxxstd>0x : : : <link>static : return_function_static_0x ;
80
81 run test_return_function.cpp return_function/<cxxstd>14 : : : <link>shared $(check14) : return_function_shared_14 ;
82 run test_return_function.cpp return_function/<cxxstd>14 : : : <link>static $(check14) : return_function_static_14 ;
83
84 run quick.cpp ;