]>
Commit | Line | Data |
---|---|---|
b32b8144 FG |
1 | # Boost.SmartPtr Library test Jamfile |
2 | # | |
11fdf7f2 | 3 | # Copyright (c) 2003-2018 Peter Dimov |
b32b8144 FG |
4 | # Copyright (c) 2003 Dave Abrahams |
5 | # | |
6 | # Distributed under the Boost Software License, Version 1.0. (See | |
7 | # accompanying file LICENSE_1_0.txt or copy at | |
8 | # http://www.boost.org/LICENSE_1_0.txt) | |
9 | ||
10 | # bring in rules for testing | |
11 | import testing ; | |
12 | ||
13 | # quick test (for CI) | |
14 | run quick.cpp ; | |
15 | ||
16 | # full test suite | |
17 | run smart_ptr_test.cpp ; | |
18 | run shared_ptr_basic_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ; | |
19 | run shared_ptr_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ; | |
20 | run weak_ptr_test.cpp ; | |
21 | run weak_ptr_move_test.cpp ; | |
22 | run shared_from_this_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ; | |
23 | run get_deleter_test.cpp ; | |
24 | run intrusive_ptr_test.cpp ; | |
25 | run intrusive_ptr_move_test.cpp ; | |
26 | run intrusive_ref_counter_test.cpp ; | |
27 | run atomic_count_test.cpp ; | |
28 | run lw_mutex_test.cpp ; | |
29 | run lw_mutex_test.cpp : : : <define>BOOST_USE_WINDOWS_H : lw_mutex_test.win_h ; | |
30 | compile-fail shared_ptr_assign_fail.cpp ; | |
31 | compile-fail shared_ptr_delete_fail.cpp ; | |
32 | compile-fail shared_ptr_compare_fail.cpp ; | |
33 | run shared_ptr_alloc2_test.cpp ; | |
34 | run pointer_cast_test.cpp ; | |
35 | run cpp11_pointer_cast_test.cpp ; | |
36 | compile pointer_to_other_test.cpp ; | |
37 | run auto_ptr_rv_test.cpp ; | |
38 | run shared_ptr_alias_test.cpp ; | |
39 | run shared_ptr_rv_test.cpp ; | |
40 | run shared_ptr_rv_pointer_cast_test.cpp ; | |
41 | run shared_ptr_move_test.cpp ; | |
42 | run shared_ptr_alias_move_test.cpp ; | |
43 | run shared_ptr_reinterpret_pointer_cast_test.cpp ; | |
44 | compile-fail shared_ptr_pv_fail.cpp ; | |
45 | run sp_unary_addr_test.cpp ; | |
46 | compile-fail scoped_ptr_eq_fail.cpp ; | |
47 | compile-fail scoped_array_eq_fail.cpp ; | |
48 | run esft_regtest.cpp ; | |
49 | run yield_k_test.cpp ; | |
50 | run yield_k_test.cpp : : : <threading>multi : yield_k_test.mt ; | |
51 | run spinlock_test.cpp ; | |
52 | run spinlock_try_test.cpp ; | |
53 | run spinlock_try_test.cpp : : : <threading>multi : spinlock_try_test.mt ; | |
11fdf7f2 TL |
54 | run spinlock_pool_test.cpp : : : |
55 | # msvc-8.0, 9.0 optimizer codegen bug for `x % 41` | |
56 | <toolset>msvc-8.0,<variant>release:<build>no | |
57 | <toolset>msvc-9.0,<variant>release:<build>no ; | |
58 | ||
b32b8144 FG |
59 | run make_shared_test.cpp ; |
60 | run make_shared_move_emulation_test.cpp ; | |
61 | run make_shared_perfect_forwarding_test.cpp ; | |
62 | run shared_ptr_convertible_test.cpp ; | |
63 | run wp_convertible_test.cpp ; | |
64 | run ip_convertible_test.cpp ; | |
65 | run allocate_shared_test.cpp ; | |
66 | run sp_atomic_test.cpp ; | |
67 | run esft_void_test.cpp ; | |
68 | run esft_second_ptr_test.cpp ; | |
69 | run make_shared_esft_test.cpp ; | |
70 | run allocate_shared_esft_test.cpp ; | |
71 | run sp_recursive_assign_test.cpp ; | |
72 | run sp_recursive_assign2_test.cpp ; | |
73 | run sp_recursive_assign_rv_test.cpp ; | |
74 | run sp_recursive_assign2_rv_test.cpp ; | |
11fdf7f2 | 75 | compile-fail auto_ptr_lv_fail.cpp : <toolset>gcc-4.4.7:<build>no ; |
b32b8144 FG |
76 | run atomic_count_test2.cpp ; |
77 | run sp_typeinfo_test.cpp ; | |
78 | compile make_shared_fp_test.cpp ; | |
79 | run sp_hash_test.cpp ; | |
80 | run get_deleter_array_test.cpp ; | |
81 | run ip_hash_test.cpp ; | |
82 | run owner_less_test.cpp ; | |
83 | run sp_unique_ptr_test.cpp ; | |
84 | run sp_array_test.cpp ; | |
85 | compile sp_array_cv_test.cpp ; | |
86 | run sp_convertible_test.cpp ; | |
87 | run sp_array_n_test.cpp ; | |
88 | run sp_array_cast_test.cpp ; | |
89 | run sp_zero_compare_test.cpp ; | |
90 | run sp_nullptr_test.cpp ; | |
91 | run sa_nullptr_test.cpp ; | |
92 | run shared_ptr_alloc3_test.cpp ; | |
93 | run shared_ptr_alloc11_test.cpp ; | |
94 | run shared_ptr_alloc_construct11_test.cpp ; | |
95 | run allocate_shared_alloc11_test.cpp ; | |
96 | run allocate_shared_construct11_test.cpp ; | |
97 | run sp_interlocked_test.cpp ; | |
98 | ||
99 | compile-fail array_fail_spa_sp_c.cpp ; | |
100 | compile-fail array_fail_sp_spa_c.cpp ; | |
101 | compile-fail array_fail_spa_spa_c.cpp ; | |
102 | compile-fail array_fail_spa_wp_c.cpp ; | |
103 | compile-fail array_fail_sp_wpa_c.cpp ; | |
104 | compile-fail array_fail_spa_wpa_c.cpp ; | |
105 | compile-fail array_fail_wpa_wp_c.cpp ; | |
106 | compile-fail array_fail_wp_wpa_c.cpp ; | |
107 | compile-fail array_fail_wpa_wpa_c.cpp ; | |
108 | compile-fail array_fail_ap_spa_c.cpp ; | |
109 | compile-fail array_fail_upa_sp_c.cpp ; | |
110 | compile-fail array_fail_up_spa_c.cpp ; | |
111 | ||
112 | compile-fail array_fail_spa_sp_mc.cpp ; | |
113 | compile-fail array_fail_sp_spa_mc.cpp ; | |
114 | compile-fail array_fail_spa_spa_mc.cpp ; | |
115 | compile-fail array_fail_spa_wp_mc.cpp ; | |
116 | compile-fail array_fail_sp_wpa_mc.cpp ; | |
117 | compile-fail array_fail_spa_wpa_mc.cpp ; | |
118 | compile-fail array_fail_wpa_wp_mc.cpp ; | |
119 | compile-fail array_fail_wp_wpa_mc.cpp ; | |
120 | compile-fail array_fail_wpa_wpa_mc.cpp ; | |
121 | compile-fail array_fail_ap_spa_mc.cpp ; | |
122 | compile-fail array_fail_upa_sp_mc.cpp ; | |
123 | compile-fail array_fail_up_spa_mc.cpp ; | |
124 | ||
125 | compile-fail array_fail_spa_sp_a.cpp ; | |
126 | compile-fail array_fail_sp_spa_a.cpp ; | |
127 | compile-fail array_fail_spa_spa_a.cpp ; | |
128 | compile-fail array_fail_spa_wp_a.cpp ; | |
129 | compile-fail array_fail_sp_wpa_a.cpp ; | |
130 | compile-fail array_fail_spa_wpa_a.cpp ; | |
131 | compile-fail array_fail_wpa_wp_a.cpp ; | |
132 | compile-fail array_fail_wp_wpa_a.cpp ; | |
133 | compile-fail array_fail_wpa_wpa_a.cpp ; | |
134 | compile-fail array_fail_ap_spa_a.cpp ; | |
135 | compile-fail array_fail_upa_sp_a.cpp ; | |
136 | compile-fail array_fail_up_spa_a.cpp ; | |
137 | ||
138 | compile-fail array_fail_spa_sp_ma.cpp ; | |
139 | compile-fail array_fail_sp_spa_ma.cpp ; | |
140 | compile-fail array_fail_spa_spa_ma.cpp ; | |
141 | compile-fail array_fail_spa_wp_ma.cpp ; | |
142 | compile-fail array_fail_sp_wpa_ma.cpp ; | |
143 | compile-fail array_fail_spa_wpa_ma.cpp ; | |
144 | compile-fail array_fail_wpa_wp_ma.cpp ; | |
145 | compile-fail array_fail_wp_wpa_ma.cpp ; | |
146 | compile-fail array_fail_wpa_wpa_ma.cpp ; | |
147 | compile-fail array_fail_ap_spa_ma.cpp ; | |
148 | compile-fail array_fail_upa_sp_ma.cpp ; | |
149 | compile-fail array_fail_up_spa_ma.cpp ; | |
150 | ||
151 | compile-fail array_fail_dereference.cpp ; | |
152 | compile-fail array_fail_member_access.cpp ; | |
153 | compile-fail array_fail_array_access.cpp ; | |
154 | ||
155 | run make_shared_array_test.cpp ; | |
11fdf7f2 | 156 | run make_shared_arrays_test.cpp ; # <cxxflags>-fno-deduce-init-list no longer needed for gcc-4.6 |
b32b8144 FG |
157 | run make_shared_array_throws_test.cpp ; |
158 | run make_shared_array_esft_test.cpp ; | |
159 | run make_shared_array_noinit_test.cpp ; | |
160 | run make_shared_array_value_test.cpp ; | |
161 | run allocate_shared_array_test.cpp ; | |
11fdf7f2 | 162 | run allocate_shared_arrays_test.cpp ; # <cxxflags>-fno-deduce-init-list no longer needed for gcc-4.6 |
b32b8144 FG |
163 | run allocate_shared_array_throws_test.cpp ; |
164 | run allocate_shared_array_esft_test.cpp ; | |
165 | run allocate_shared_array_noinit_test.cpp ; | |
166 | run allocate_shared_array_value_test.cpp ; | |
167 | run allocate_shared_array_construct_test.cpp ; | |
168 | ||
169 | run make_unique_test.cpp ; | |
170 | run make_unique_args_test.cpp ; | |
11fdf7f2 | 171 | run make_unique_value_test.cpp : : : <toolset>gcc-4.6:<cxxflags>-fno-deduce-init-list ; |
b32b8144 FG |
172 | run make_unique_noinit_test.cpp ; |
173 | run make_unique_throws_test.cpp ; | |
174 | run make_unique_array_test.cpp ; | |
175 | run make_unique_array_noinit_test.cpp ; | |
176 | run make_unique_array_throws_test.cpp ; | |
177 | ||
178 | run shared_from_raw_test.cpp ; | |
179 | run shared_from_raw_test2.cpp ; | |
180 | run shared_from_raw_test3.cpp ; | |
181 | run shared_from_raw_test4.cpp ; | |
182 | run shared_from_raw_test5.cpp ; | |
183 | run shared_from_raw_test6.cpp ; | |
184 | ||
185 | run weak_from_raw_test.cpp ; | |
186 | run weak_from_raw_test2.cpp ; | |
187 | run weak_from_raw_test3.cpp ; | |
188 | run weak_from_raw_test4.cpp ; | |
189 | run weak_from_raw_test5.cpp ; | |
190 | ||
191 | compile sp_explicit_inst_test.cpp ; | |
192 | ||
193 | run weak_from_this_test.cpp ; | |
194 | run weak_from_this_test2.cpp ; | |
195 | ||
196 | run sp_bml_unique_ptr_test.cpp ; | |
197 | ||
198 | run sp_hash_test2.cpp ; | |
199 | run sp_hash_test3.cpp ; | |
200 | ||
201 | run pointer_cast_test2.cpp ; | |
202 | ||
203 | compile-fail pointer_cast_st_fail.cpp ; | |
204 | compile-fail pointer_cast_st_fail2.cpp ; | |
205 | compile-fail pointer_cast_st_fail3.cpp ; | |
206 | ||
207 | compile-fail pointer_cast_co_fail.cpp ; | |
208 | compile-fail pointer_cast_co_fail2.cpp ; | |
209 | compile-fail pointer_cast_co_fail3.cpp ; | |
210 | ||
211 | compile-fail pointer_cast_dy_fail.cpp ; | |
212 | compile-fail pointer_cast_dy_fail2.cpp ; | |
213 | compile-fail pointer_cast_dy_fail3.cpp ; | |
214 | ||
215 | run sp_nothrow_test.cpp ; | |
216 | ||
217 | compile make_shared_msvc_test.cpp ; | |
218 | ||
219 | compile lwm_win32_cs_test.cpp ; | |
220 | ||
221 | run atomic_sp_test.cpp ; | |
222 | ||
223 | run sp_constexpr_test.cpp ; | |
224 | run sp_constexpr_test2.cpp ; | |
225 | ||
226 | run atomic_sp_constexpr_test.cpp ; | |
227 | ||
228 | run shared_ptr_fn_test.cpp ; | |
229 | ||
230 | run get_deleter_test2.cpp ; | |
231 | run get_deleter_test3.cpp ; | |
232 | run get_deleter_array_test2.cpp ; | |
233 | run get_deleter_array_test3.cpp ; | |
234 | ||
235 | run sp_convertible_test2.cpp ; | |
236 | ||
237 | run local_sp_test.cpp ; | |
238 | run lsp_array_test.cpp ; | |
239 | run lsp_array_n_test.cpp ; | |
240 | run lsp_array_cv_test.cpp ; | |
241 | run lsp_array_cast_test.cpp ; | |
242 | ||
243 | run get_local_deleter_test.cpp ; | |
244 | run get_local_deleter_test2.cpp ; | |
245 | run get_local_deleter_test3.cpp ; | |
246 | run get_local_deleter_array_test.cpp ; | |
247 | run get_local_deleter_array_test2.cpp ; | |
248 | ||
249 | run make_local_shared_test.cpp ; | |
250 | run make_local_shared_esft_test.cpp ; | |
251 | run allocate_local_shared_test.cpp ; | |
252 | run allocate_local_shared_esft_test.cpp ; | |
253 | ||
254 | run make_local_shared_array_test.cpp ; | |
255 | run make_local_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ; | |
256 | run make_local_shared_array_throws_test.cpp ; | |
257 | run make_local_shared_array_esft_test.cpp ; | |
258 | run make_local_shared_array_noinit_test.cpp ; | |
259 | run make_local_shared_array_value_test.cpp ; | |
260 | run allocate_local_shared_array_test.cpp ; | |
261 | run allocate_local_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ; | |
262 | run allocate_local_shared_array_throws_test.cpp ; | |
263 | run allocate_local_shared_array_esft_test.cpp ; | |
264 | run allocate_local_shared_array_noinit_test.cpp ; | |
265 | run allocate_local_shared_array_value_test.cpp ; | |
266 | run allocate_local_shared_array_construct_test.cpp ; | |
267 | ||
268 | run local_sp_fn_test.cpp ; | |
269 | run lsp_convertible_test.cpp ; | |
270 | run lsp_convertible_test2.cpp ; | |
271 | ||
272 | run make_shared_array_tmp_test.cpp ; | |
11fdf7f2 TL |
273 | |
274 | run lw_thread_test.cpp : : : <threading>multi ; |