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