]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/Jamfile.v2
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / core / test / Jamfile.v2
1 # Boost.Core Library test Jamfile
2 #
3 # Copyright (c) 2014, 2017 Peter Dimov
4 #
5 # Distributed under the Boost Software License, Version 1.0.
6 # See accompanying file LICENSE_1_0.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt
8
9 import modules ;
10 import testing ;
11
12 # quick test (for CI)
13 run quick.cpp ;
14
15 # full test suite
16 run addressof_test.cpp ;
17 run addressof_test2.cpp ;
18 run addressof_np_test.cpp ;
19 run addressof_fn_test.cpp ;
20 compile addressof_constexpr_test.cpp ;
21 compile-fail addressof_fail_rvalue.cpp ;
22
23 run checked_delete_test.cpp ;
24 compile-fail checked_delete_fail.cpp ;
25 compile-fail checked_delete_fail2.cpp ;
26
27 compile ref_ct_test.cpp ;
28 run ref_test.cpp ;
29 run ref_ref_test.cpp ;
30 run ref_fn_test.cpp ;
31 compile-fail ref_rv_fail1.cpp ;
32 compile-fail ref_rv_fail2.cpp ;
33 compile-fail ref_rv_fail3.cpp ;
34 compile-fail ref_rv_fail4.cpp ;
35 compile-fail ref_rv_fail5.cpp ;
36 compile-fail ref_implicit_fail.cpp ;
37 compile-fail ref_implicit_fail2.cpp ;
38 run ref_cv_test.cpp ;
39
40 run eif_constructors.cpp ;
41 run eif_dummy_arg_disambiguation.cpp ;
42 run eif_lazy.cpp ;
43 run eif_lazy_test.cpp ;
44 run eif_member_templates.cpp ;
45 run eif_namespace_disambiguation.cpp ;
46 run eif_no_disambiguation.cpp ;
47 run eif_partial_specializations.cpp ;
48
49 compile-fail noncopyable_compile_fail.cpp ;
50
51 run explicit_operator_bool.cpp ;
52 run explicit_operator_bool_noexcept.cpp ;
53 compile-fail explicit_operator_bool_compile_fail_conv_int.cpp ;
54 compile-fail explicit_operator_bool_compile_fail_conv_pvoid.cpp ;
55 compile-fail explicit_operator_bool_compile_fail_delete.cpp ;
56 compile-fail explicit_operator_bool_compile_fail_shift.cpp ;
57
58 compile ignore_unused_test.cpp
59 : <warnings>extra
60 <toolset>gcc:<warnings-as-errors>on
61 <toolset>clang:<warnings-as-errors>on
62 <toolset>msvc:<warnings-as-errors>on ;
63
64 run sp_typeinfo_test.cpp ;
65 run sp_typeinfo_test.cpp : : : <rtti>off : sp_typeinfo_test_no_rtti ;
66
67 run visit_each_test.cpp ;
68
69 run get_pointer_test.cpp ;
70
71 local pedantic-errors = <warnings>pedantic
72 <toolset>msvc:<warnings-as-errors>on
73 <toolset>gcc:<warnings-as-errors>on
74 <toolset>clang:<warnings-as-errors>on ;
75
76 run lightweight_test_test.cpp
77 : : : $(pedantic-errors) ;
78 run lightweight_test_test.cpp : : :
79 <exception-handling>off $(pedantic-errors) : lightweight_test_test_no_except ;
80 run lightweight_test_test2.cpp
81 : : : $(pedantic-errors) ;
82 run lightweight_test_all_with_test.cpp
83 : : : $(pedantic-errors) ;
84 run lightweight_test_lt_le_test.cpp
85 : : : $(pedantic-errors) ;
86 run lightweight_test_gt_ge_test.cpp
87 : : : $(pedantic-errors) ;
88 run lightweight_test_eq_nullptr.cpp
89 : : : $(pedantic-errors) ;
90 run lightweight_test_test3.cpp
91 : : : $(pedantic-errors) ;
92 run lightweight_test_test4.cpp
93 : : : $(pedantic-errors) ;
94 run lightweight_test_test5.cpp
95 : : : $(pedantic-errors)
96 <toolset>gcc-4.4.7:<cxxflags>-Wno-sign-compare ;
97
98 run-fail lightweight_test_all_eq_test.cpp ;
99 run-fail lightweight_test_all_with_fail.cpp ;
100
101 run-fail lightweight_test_fail.cpp ;
102 run-fail lightweight_test_fail2.cpp ;
103 run-fail lightweight_test_fail3.cpp ;
104 run-fail lightweight_test_fail4.cpp ;
105 run-fail lightweight_test_fail5.cpp ;
106 run-fail lightweight_test_fail6.cpp ;
107 run-fail lightweight_test_fail7.cpp ;
108 run-fail lightweight_test_fail7.cpp : : : <rtti>off : lightweight_test_fail7_no_rtti ;
109 run-fail lightweight_test_fail8.cpp ;
110 run-fail lightweight_test_fail8.cpp : : : <rtti>off : lightweight_test_fail8_no_rtti ;
111 run-fail lightweight_test_fail9.cpp ;
112 run-fail lightweight_test_fail10.cpp ;
113 run-fail lightweight_test_fail11.cpp : ;
114 run-fail lightweight_test_fail12.cpp ;
115 run-fail lightweight_test_fail13.cpp ;
116 run-fail lightweight_test_fail14.cpp ;
117 run-fail lightweight_test_lt_fail.cpp ;
118 run-fail lightweight_test_le_fail.cpp ;
119 run-fail lightweight_test_gt_fail.cpp ;
120 run-fail lightweight_test_ge_fail.cpp ;
121
122 run lightweight_test_bool.cpp
123 : : : $(pedantic-errors) ;
124
125 run lightweight_test_with_test.cpp
126 : : : $(pedantic-errors) ;
127 run-fail lightweight_test_with_fail.cpp ;
128
129 run is_same_test.cpp ;
130
131 run typeinfo_test.cpp ;
132 run typeinfo_test.cpp : : : <rtti>off : typeinfo_test_no_rtti ;
133
134 run iterator_test.cpp ;
135 run detail_iterator_test.cpp ;
136
137 run demangle_test.cpp
138 : : : <test-info>always_show_run_output ;
139
140 run demangled_name_test.cpp
141 : : : <test-info>always_show_run_output ;
142
143 run demangled_name_test.cpp : : : <rtti>off <test-info>always_show_run_output : demangled_name_test_no_rtti ;
144
145 run scoped_enum.cpp ;
146 compile-fail scoped_enum_compile_fail_conv_from_int.cpp ;
147 compile-fail scoped_enum_compile_fail_conv_to_int.cpp ;
148
149 run underlying_type.cpp ;
150
151 run pointer_traits_pointer_test.cpp ;
152 run pointer_traits_element_type_test.cpp ;
153 run pointer_traits_difference_type_test.cpp ;
154 run pointer_traits_rebind_test.cpp ;
155 run pointer_traits_pointer_to_test.cpp ;
156 run to_address_test.cpp ;
157
158 run exchange_test.cpp ;
159 run exchange_move_test.cpp ;
160
161 run first_scalar_test.cpp ;
162 compile first_scalar_constexpr_test.cpp ;
163
164 run empty_value_test.cpp ;
165 run empty_value_size_test.cpp ;
166 run empty_value_final_test.cpp ;
167
168 run quick_exit_test.cpp ;
169 run-fail quick_exit_fail.cpp ;
170
171 compile use_default_test.cpp ;
172
173 run default_allocator_test.cpp
174 : : : <warnings>pedantic
175 <toolset>msvc:<warnings-as-errors>on
176 <toolset>gcc:<warnings-as-errors>on
177 <toolset>clang:<warnings-as-errors>on ;
178
179 run noinit_adaptor_test.cpp ;
180 run alloc_construct_test.cpp ;
181 run alloc_construct_throws_test.cpp ;
182 run alloc_construct_cxx11_test.cpp ;
183
184 run nvp_test.cpp ;
185
186 run allocator_value_type_test.cpp ;
187 run allocator_pointer_test.cpp ;
188 run allocator_const_pointer_test.cpp ;
189 run allocator_void_pointer_test.cpp ;
190 run allocator_const_void_pointer_test.cpp ;
191 run allocator_difference_type_test.cpp ;
192 run allocator_size_type_test.cpp ;
193 run allocator_pocca_test.cpp ;
194 run allocator_pocma_test.cpp ;
195 run allocator_pocs_test.cpp ;
196 run allocator_is_always_equal_test.cpp ;
197 run allocator_rebind_test.cpp ;
198 run allocator_allocate_test.cpp ;
199 run allocator_allocate_hint_test.cpp ;
200 run allocator_deallocate_test.cpp ;
201 run allocator_max_size_test.cpp ;
202 run allocator_soccc_test.cpp ;
203
204 lib lib_typeid : lib_typeid.cpp : <link>shared:<define>LIB_TYPEID_DYN_LINK=1 ;
205
206 run test_lib_typeid.cpp lib_typeid : : : <link>shared : test_lib_typeid_shared ;
207 run test_lib_typeid.cpp lib_typeid : : : <link>static : test_lib_typeid_static ;
208
209 run test_lib_typeid.cpp lib_typeid : : : <link>shared <rtti>off : test_lib_typeid_shared_no_rtti ;
210 run test_lib_typeid.cpp lib_typeid : : : <link>static <rtti>off : test_lib_typeid_static_no_rtti ;
211
212 run uncaught_exceptions.cpp
213 : : : <exception-handling>on ;
214 run uncaught_exceptions_np.cpp
215 : : : <exception-handling>on ;
216
217 run no_exceptions_support_test.cpp ;
218 run no_exceptions_support_test.cpp : : : <exception-handling>off : no_exceptions_support_test_nx ;
219
220 use-project /boost/core/swap : ./swap ;
221 build-project ./swap ;