]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/Jamfile.v2
bump version to 18.2.4-pve3
[ceph.git] / ceph / src / boost / libs / core / test / Jamfile.v2
1 # Boost.Core Library test Jamfile
2 #
3 # Copyright (c) 2014-2021 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 project : requirements
13
14 <warnings>extra
15 <toolset>msvc:<warnings-as-errors>on
16 <toolset>clang:<warnings-as-errors>on
17 <toolset>gcc:<warnings-as-errors>on
18 <toolset>gcc-4.4:<cxxflags>-Wno-sign-compare ;
19
20 local warning-as-errors-off =
21 "-<toolset>msvc:<warnings-as-errors>on"
22 "-<toolset>gcc:<warnings-as-errors>on"
23 "-<toolset>clang:<warnings-as-errors>on" ;
24
25 # quick test (for CI)
26 run quick.cpp ;
27
28 # full test suite
29 run addressof_test.cpp ;
30 run addressof_test2.cpp ;
31 run addressof_np_test.cpp ;
32 run addressof_fn_test.cpp ;
33 compile addressof_constexpr_test.cpp ;
34 compile-fail addressof_fail_rvalue.cpp
35 : $(warning-as-errors-off) ;
36
37 run checked_delete_test.cpp ;
38 compile-fail checked_delete_fail.cpp
39 : $(warning-as-errors-off) ;
40 compile-fail checked_delete_fail2.cpp
41 : $(warning-as-errors-off) ;
42
43 compile ref_ct_test.cpp ;
44 run ref_test.cpp ;
45 run ref_ref_test.cpp ;
46 run ref_fn_test.cpp ;
47 compile-fail ref_rv_fail1.cpp
48 : $(warning-as-errors-off) ;
49 compile-fail ref_rv_fail2.cpp
50 : $(warning-as-errors-off) ;
51 compile-fail ref_rv_fail3.cpp
52 : $(warning-as-errors-off) ;
53 compile-fail ref_rv_fail4.cpp
54 : $(warning-as-errors-off) ;
55 compile-fail ref_rv_fail5.cpp
56 : $(warning-as-errors-off) ;
57 compile-fail ref_implicit_fail.cpp
58 : $(warning-as-errors-off) ;
59 compile-fail ref_implicit_fail2.cpp
60 : $(warning-as-errors-off) ;
61 compile-fail ref_implicit_fail3.cpp
62 : $(warning-as-errors-off) ;
63 compile-fail ref_implicit_fail4.cpp
64 : $(warning-as-errors-off) ;
65 run ref_cv_test.cpp ;
66 run ref_conversion_test.cpp ;
67
68 run eif_constructors.cpp : ;
69 run eif_dummy_arg_disambiguation.cpp : ;
70 run eif_lazy.cpp : ;
71 run eif_lazy_test.cpp : ;
72 run eif_member_templates.cpp : ;
73 run eif_namespace_disambiguation.cpp : ;
74 run eif_no_disambiguation.cpp : ;
75 run eif_partial_specializations.cpp : ;
76
77 compile-fail noncopyable_compile_fail.cpp
78 : $(warning-as-errors-off) ;
79
80 run explicit_operator_bool.cpp ;
81 run explicit_operator_bool_noexcept.cpp ;
82 compile-fail explicit_operator_bool_compile_fail_conv_int.cpp
83 : $(warning-as-errors-off) ;
84 compile-fail explicit_operator_bool_compile_fail_conv_pvoid.cpp
85 : $(warning-as-errors-off) ;
86 compile-fail explicit_operator_bool_compile_fail_delete.cpp
87 : $(warning-as-errors-off) ;
88 compile-fail explicit_operator_bool_compile_fail_shift.cpp
89 : $(warning-as-errors-off) ;
90
91 compile ignore_unused_test.cpp ;
92
93 run sp_typeinfo_test.cpp ;
94 run sp_typeinfo_test.cpp : : : <rtti>off : sp_typeinfo_test_no_rtti ;
95
96 run visit_each_test.cpp ;
97
98 run get_pointer_test.cpp ;
99
100 local pedantic-errors = <warnings>pedantic
101 <toolset>msvc:<warnings-as-errors>on
102 <toolset>gcc:<warnings-as-errors>on
103 <toolset>clang:<warnings-as-errors>on ;
104
105 run lightweight_test_test.cpp
106 : : : $(pedantic-errors) ;
107 run lightweight_test_test.cpp : : :
108 <exception-handling>off $(pedantic-errors) : lightweight_test_test_no_except ;
109 run lightweight_test_test2.cpp
110 : : : $(pedantic-errors) ;
111 run lightweight_test_all_with_test.cpp
112 : : : $(pedantic-errors) ;
113 run lightweight_test_lt_le_test.cpp
114 : : : $(pedantic-errors) ;
115 run lightweight_test_gt_ge_test.cpp
116 : : : $(pedantic-errors) ;
117 run lightweight_test_eq_nullptr.cpp
118 : : : $(pedantic-errors) ;
119 run lightweight_test_test3.cpp
120 : : : $(pedantic-errors) ;
121 run lightweight_test_test4.cpp
122 : : : $(pedantic-errors) ;
123 run lightweight_test_test5.cpp
124 : : : $(pedantic-errors)
125 <toolset>gcc-4.4.7:<cxxflags>-Wno-sign-compare
126 <toolset>gcc-4.4:<cxxflags>-Wno-sign-compare
127 ;
128 run lightweight_test_test6.cpp
129 : : : $(pedantic-errors) ;
130
131 run-fail lightweight_test_all_eq_test.cpp ;
132 run-fail lightweight_test_all_with_fail.cpp ;
133
134 run-fail lightweight_test_fail.cpp ;
135 run-fail lightweight_test_fail2.cpp ;
136 run-fail lightweight_test_fail3.cpp ;
137 run-fail lightweight_test_fail4.cpp ;
138 run-fail lightweight_test_fail5.cpp ;
139 run-fail lightweight_test_fail6.cpp ;
140 run-fail lightweight_test_fail7.cpp ;
141 run-fail lightweight_test_fail7.cpp : : : <rtti>off <toolset>gcc-4.4:<build>no : lightweight_test_fail7_no_rtti ;
142 run-fail lightweight_test_fail8.cpp ;
143 run-fail lightweight_test_fail8.cpp : : : <rtti>off <toolset>gcc-4.4:<build>no : lightweight_test_fail8_no_rtti ;
144 run-fail lightweight_test_fail9.cpp ;
145 run-fail lightweight_test_fail10.cpp ;
146 run-fail lightweight_test_fail11.cpp : ;
147 run-fail lightweight_test_fail12.cpp ;
148 run-fail lightweight_test_fail13.cpp ;
149 run-fail lightweight_test_fail14.cpp ;
150 run-fail lightweight_test_fail15.cpp ;
151 run-fail lightweight_test_lt_fail.cpp ;
152 run-fail lightweight_test_le_fail.cpp ;
153 run-fail lightweight_test_gt_fail.cpp ;
154 run-fail lightweight_test_ge_fail.cpp ;
155
156 run lightweight_test_bool.cpp
157 : : : $(pedantic-errors) ;
158
159 run lightweight_test_with_test.cpp
160 : : : $(pedantic-errors) ;
161 run-fail lightweight_test_with_fail.cpp ;
162
163 run is_same_test.cpp ;
164
165 run typeinfo_test.cpp ;
166 run typeinfo_test.cpp : : : <rtti>off : typeinfo_test_no_rtti ;
167
168 run iterator_test.cpp ;
169 run detail_iterator_test.cpp ;
170
171 run demangle_test.cpp
172 : : : <test-info>always_show_run_output ;
173
174 run demangled_name_test.cpp
175 : : : <test-info>always_show_run_output ;
176
177 run demangled_name_test.cpp : : : <rtti>off <test-info>always_show_run_output : demangled_name_test_no_rtti ;
178
179 run scoped_enum.cpp ;
180 compile-fail scoped_enum_compile_fail_conv_from_int.cpp
181 : $(warning-as-errors-off) ;
182 compile-fail scoped_enum_compile_fail_conv_to_int.cpp
183 : $(warning-as-errors-off) ;
184
185 run underlying_type.cpp ;
186
187 run pointer_traits_pointer_test.cpp ;
188 run pointer_traits_element_type_test.cpp ;
189 run pointer_traits_difference_type_test.cpp ;
190 run pointer_traits_rebind_test.cpp ;
191 run pointer_traits_pointer_to_test.cpp ;
192 run pointer_traits_sfinae_test.cpp ;
193 run pointer_traits_rebind_sfinae_test.cpp ;
194 run pointer_traits_pointer_to_sfinae_test.cpp ;
195 run to_address_test.cpp ;
196
197 run exchange_test.cpp ;
198 run exchange_move_test.cpp ;
199
200 run first_scalar_test.cpp ;
201 compile first_scalar_constexpr_test.cpp ;
202
203 run empty_value_test.cpp ;
204 run empty_value_size_test.cpp ;
205 run empty_value_final_test.cpp ;
206
207 run quick_exit_test.cpp ;
208 run-fail quick_exit_fail.cpp ;
209
210 compile use_default_test.cpp ;
211
212 run default_allocator_test.cpp
213 : : : <warnings>pedantic
214 <toolset>msvc:<warnings-as-errors>on
215 <toolset>gcc:<warnings-as-errors>on
216 <toolset>clang:<warnings-as-errors>on ;
217 run default_allocator_allocate_hint_test.cpp ;
218
219 run noinit_adaptor_test.cpp ;
220 run alloc_construct_test.cpp ;
221 run alloc_construct_throws_test.cpp ;
222 run alloc_construct_cxx11_test.cpp ;
223
224 run nvp_test.cpp ;
225
226 run allocator_value_type_test.cpp ;
227 run allocator_pointer_test.cpp ;
228 run allocator_const_pointer_test.cpp ;
229 run allocator_void_pointer_test.cpp ;
230 run allocator_const_void_pointer_test.cpp ;
231 run allocator_difference_type_test.cpp ;
232 run allocator_size_type_test.cpp ;
233 run allocator_pocca_test.cpp ;
234 run allocator_pocma_test.cpp ;
235 run allocator_pocs_test.cpp ;
236 run allocator_is_always_equal_test.cpp ;
237 run allocator_rebind_test.cpp ;
238 run allocator_allocate_test.cpp ;
239 run allocator_allocate_hint_test.cpp ;
240 run allocator_deallocate_test.cpp ;
241 run allocator_max_size_test.cpp ;
242 run allocator_soccc_test.cpp ;
243 run allocator_traits_test.cpp ;
244
245 lib lib_typeid : lib_typeid.cpp : <link>shared:<define>LIB_TYPEID_DYN_LINK=1 ;
246
247 run test_lib_typeid.cpp lib_typeid : : : <link>shared : test_lib_typeid_shared ;
248 run test_lib_typeid.cpp lib_typeid : : : <link>static : test_lib_typeid_static ;
249
250 run test_lib_typeid.cpp lib_typeid : : : <link>shared <rtti>off : test_lib_typeid_shared_no_rtti ;
251 run test_lib_typeid.cpp lib_typeid : : : <link>static <rtti>off : test_lib_typeid_static_no_rtti ;
252
253 run test_lib_typeid2.cpp lib_typeid : : : <link>shared : test_lib_typeid2_shared ;
254 run test_lib_typeid2.cpp lib_typeid : : : <link>static : test_lib_typeid2_static ;
255
256 run test_lib_typeid2.cpp lib_typeid : : : <link>shared <rtti>off : test_lib_typeid2_shared_no_rtti ;
257 run test_lib_typeid2.cpp lib_typeid : : : <link>static <rtti>off : test_lib_typeid2_static_no_rtti ;
258
259 run uncaught_exceptions.cpp
260 : : : <exception-handling>on ;
261 run uncaught_exceptions_np.cpp
262 : : : <exception-handling>on ;
263
264 run no_exceptions_support_test.cpp : ;
265 run no_exceptions_support_test.cpp : : : <exception-handling>off : no_exceptions_support_test_nx ;
266
267 run cmath_test.cpp
268 : : : $(pedantic-errors) ;
269 run cmath_test.cpp : : : <define>BOOST_CORE_USE_GENERIC_CMATH <toolset>msvc-8.0:<build>no : cmath_test_generic ;
270
271 run bit_cast_test.cpp
272 : : : $(pedantic-errors) ;
273 run bit_rotate_test.cpp
274 : : : $(pedantic-errors) ;
275 run bit_countr_test.cpp
276 : : : $(pedantic-errors) ;
277 run bit_countl_test.cpp
278 : : : $(pedantic-errors) ;
279 run bit_width_test.cpp
280 : : : $(pedantic-errors) ;
281 run has_single_bit_test.cpp
282 : : : $(pedantic-errors) ;
283 run bit_floor_test.cpp
284 : : : $(pedantic-errors) ;
285 run bit_ceil_test.cpp
286 : : : $(pedantic-errors) ;
287 run bit_popcount_test.cpp
288 : : : $(pedantic-errors) ;
289 run bit_endian_test.cpp
290 : : : $(pedantic-errors) ;
291
292 run type_name_test.cpp ;
293
294 run sv_types_test.cpp ;
295 run sv_construct_test.cpp ;
296 run sv_iteration_test.cpp ;
297 run sv_element_access_test.cpp ;
298 run sv_modifiers_test.cpp ;
299 run sv_copy_test.cpp ;
300 run sv_substr_test.cpp ;
301 run sv_compare_test.cpp ;
302 run sv_starts_with_test.cpp ;
303 run sv_ends_with_test.cpp ;
304 run sv_find_test.cpp ;
305 run sv_rfind_test.cpp ;
306 run sv_find_first_of_test.cpp
307 : : : <toolset>gcc-4.4:<cxxflags>-Wno-type-limits ;
308 run sv_find_last_of_test.cpp
309 : : : <toolset>gcc-4.4:<cxxflags>-Wno-type-limits ;
310 run sv_find_first_not_of_test.cpp
311 : : : <toolset>gcc-4.4:<cxxflags>-Wno-type-limits ;
312 run sv_find_last_not_of_test.cpp
313 : : : <toolset>gcc-4.4:<cxxflags>-Wno-type-limits ;
314 run sv_contains_test.cpp ;
315 run sv_eq_test.cpp ;
316 run sv_lt_test.cpp ;
317 run sv_stream_insert_test.cpp ;
318 run sv_conversion_test.cpp ;
319 run sv_conversion_test2.cpp : ;
320 run sv_common_reference_test.cpp ;
321 compile sv_common_reference_test2.cpp ;
322 compile sv_windows_h_test.cpp ;
323
324 run span_test.cpp ;
325 run span_types_test.cpp ;
326 run span_constructible_test.cpp ;
327 run span_deduction_guide_test.cpp ;
328 run as_bytes_test.cpp ;
329 run as_writable_bytes_test.cpp ;
330
331 run splitmix64_test.cpp
332 : : : $(pedantic-errors) ;
333
334 run-fail verbose_terminate_handler_fail.cpp : ;
335 run-fail verbose_terminate_handler_fail.cpp : : : <exception-handling>off : verbose_terminate_handler_fail_nx ;
336 run-fail verbose_terminate_handler_fail.cpp : : : <rtti>off : verbose_terminate_handler_fail_nr ;
337 run-fail verbose_terminate_handler_fail.cpp : : : <exception-handling>off <rtti>off : verbose_terminate_handler_fail_nxr ;
338
339 use-project /boost/core/swap : ./swap ;
340 build-project ./swap ;