]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #============================================================================== |
2 | # Copyright (c) 2003-2006 Joel de Guzman | |
3 | # Copyright (c) 2014-2015 John Fletcher | |
4 | # | |
5 | # Use, modification and distribution is subject to the Boost Software | |
6 | # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
7 | # http://www.boost.org/LICENSE_1_0.txt) | |
8 | #============================================================================== | |
9 | ||
10 | # bring in rules for testing | |
11 | import testing ; | |
12 | ||
b32b8144 FG |
13 | import ../../config/checks/config : requires ; |
14 | ||
7c673cae FG |
15 | project |
16 | : requirements | |
17 | <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE | |
18 | <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS | |
19 | <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE | |
20 | <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS | |
21 | ; | |
22 | ||
23 | local multi-threading = <library>/boost/thread | |
24 | <threading>multi <define>BOOST_ALL_NO_LIB=1 ; | |
25 | ||
26 | test-suite phoenix_core : | |
27 | [ run core/custom_terminal.cpp ] | |
28 | [ run core/intel_test.cpp ] | |
29 | [ run core/primitives_tests.cpp ] | |
30 | ; | |
31 | ||
32 | test-suite phoenix_stdlib : | |
33 | [ run stdlib/cmath.cpp ] | |
34 | ; | |
35 | ||
36 | test-suite phoenix_operator : | |
37 | [ run operator/arithmetic_tests.cpp ] | |
38 | [ run operator/bitwise_tests.cpp ] | |
39 | [ run operator/comparison_tests.cpp ] | |
40 | [ run operator/if_else_tests.cpp ] | |
41 | [ run operator/io_tests.cpp ] | |
42 | [ run operator/logical_tests.cpp ] | |
43 | [ run operator/misc_binary_tests.cpp ] | |
44 | [ run operator/self_tests.cpp ] | |
45 | [ run operator/unary_tests.cpp ] | |
46 | [ run operator/member.cpp ] | |
47 | ; | |
48 | ||
49 | test-suite phoenix_object : | |
50 | [ run object/cast_tests.cpp ] | |
51 | [ run object/new_delete_tests.cpp ] | |
52 | ; | |
53 | ||
54 | test-suite phoenix_function : | |
55 | [ run function/adapt_function.cpp ] | |
56 | [ run function/function_tests.cpp ] | |
57 | [ run function/lazy_argument_tests.cpp ] | |
58 | # [ run function/lazy_compose_tests.cpp ] | |
59 | # [ run function/lazy_fold_tests.cpp ] | |
60 | [ run function/lazy_list_tests.cpp ] | |
61 | [ run function/lazy_list2_tests.cpp ] | |
62 | [ run function/lazy_list3_tests.cpp ] | |
63 | [ run function/lazy_make_pair_tests.cpp ] | |
64 | # [ run function/lazy_ptr_tests.cpp ] | |
65 | # [ run function/lazy_scan_tests.cpp ] | |
66 | [ run function/lazy_templated_struct_tests.cpp ] | |
67 | # [ run function/lazy_thunk_tests.cpp ] | |
68 | [ run function/lazy_operator_tests.cpp ] | |
69 | # [ run function/function_tests_phx2.cpp ] | |
70 | ; | |
71 | ||
72 | test-suite phoenix_bind : | |
73 | [ run bind/bind_function_tests.cpp ] | |
74 | [ run bind/bind_function_object_tests.cpp ] | |
75 | # [ run bind/bind_function_object_tests_phx2.cpp ] | |
76 | [ run bind/bind_member_function_tests.cpp ] | |
77 | [ run bind/bind_member_variable_tests.cpp ] | |
78 | [ run bind/bug5782.cpp ] | |
79 | ; | |
80 | ||
81 | test-suite phoenix_statement : | |
82 | [ run statement/if_tests.cpp ] | |
83 | [ run statement/loops_tests.cpp ] | |
84 | [ run statement/switch_tests.cpp ] | |
85 | [ run statement/exceptions.cpp ] | |
86 | [ run statement/bug5715.cpp ] | |
87 | ; | |
88 | ||
89 | test-suite phoenix_container : | |
90 | [ run container/container_tests1a.cpp ] | |
91 | [ run container/container_tests1b.cpp ] | |
92 | [ run container/container_tests2a.cpp ] | |
93 | [ run container/container_tests2b.cpp ] | |
94 | [ run container/container_tests3a.cpp ] | |
95 | [ run container/container_tests3b.cpp ] | |
96 | [ run container/container_tests4a.cpp ] | |
97 | [ run container/container_tests4b.cpp ] | |
98 | [ run container/container_tests5a.cpp ] | |
99 | [ run container/container_tests5b.cpp ] | |
100 | [ run container/container_tests6a.cpp ] | |
101 | [ run container/container_tests6b.cpp ] | |
b32b8144 FG |
102 | [ run container/container_tests7a.cpp ] |
103 | [ run container/container_tests7b.cpp ] | |
104 | [ run container/container_tests8a.cpp ] | |
105 | [ run container/container_tests8b.cpp : : : [ requires cxx11_hdr_unordered_map ] ] | |
106 | [ run container/container_tests9a.cpp : : : [ requires cxx11_hdr_unordered_map ] ] | |
107 | [ run container/container_tests9b.cpp : : : [ requires cxx11_hdr_unordered_map ] ] | |
108 | [ run container/container_tests10a.cpp : : : [ requires cxx11_hdr_unordered_map ] ] | |
109 | [ run container/container_tests10b.cpp : : : [ requires cxx11_hdr_unordered_map ] ] | |
110 | [ run container/container_tests11a.cpp : : : [ requires cxx11_hdr_unordered_set ] ] | |
111 | [ run container/container_tests11b.cpp : : : [ requires cxx11_hdr_unordered_set ] ] | |
112 | [ run container/container_tests12a.cpp : : : [ requires cxx11_hdr_unordered_set ] ] | |
113 | [ run container/container_tests12b.cpp : : : [ requires cxx11_hdr_unordered_set ] ] | |
7c673cae FG |
114 | ; |
115 | ||
116 | test-suite phoenix_scope : | |
117 | # [ run scope/lambda_tests.cpp ] | |
118 | # [ run scope/lambda_tests1.cpp ] | |
119 | [ run scope/lambda_tests1a.cpp ] | |
120 | # [ run scope/lambda_tests1b.cpp ] | |
121 | [ run scope/lambda_tests1b1p.cpp ] | |
122 | [ run scope/lambda_tests1b1q.cpp ] | |
123 | [ run scope/lambda_tests1b1r.cpp ] | |
124 | [ run scope/lambda_tests1b1s.cpp ] | |
125 | [ run scope/lambda_tests1b1t.cpp ] | |
126 | [ run scope/lambda_tests1b2p.cpp ] | |
127 | [ run scope/lambda_tests1b2q.cpp ] | |
128 | [ run scope/lambda_tests1b2r.cpp ] | |
129 | [ run scope/lambda_tests2.cpp ] | |
130 | [ run scope/lambda_tests2a.cpp ] | |
131 | [ run scope/lambda_tests3.cpp ] | |
132 | [ run scope/lambda_tests3a.cpp ] | |
133 | # [ run scope/lambda_tests3a1.cpp ] | |
134 | [ run scope/lambda_tests3b.cpp ] | |
135 | # [ run scope/lambda_tests_phx2.cpp ] | |
136 | [ run scope/let_tests.cpp ] | |
137 | [ run scope/let_tests_113.cpp ] | |
138 | # [ run scope/let_tests_113a.cpp ] | |
139 | [ run scope/let_tests_157.cpp ] | |
140 | # [ run scope/let_tests_157a.cpp ] | |
141 | [ run scope/let_tests_rest.cpp ] | |
142 | [ run scope/more_lambda_tests.cpp ] | |
143 | [ run scope/more_let_tests.cpp ] | |
144 | # [ run scope/more_let_tests1.cpp ] | |
145 | # [ run scope/more_let_tests2a.cpp ] | |
146 | # [ run scope/more_let_tests2b.cpp ] | |
147 | [ run scope/dynamic_tests.cpp ] | |
148 | [ run scope/bug3289.cpp ] | |
149 | [ run scope/bug8298.cpp ] | |
150 | [ compile-fail scope/bug8298f.cpp ] | |
151 | [ run scope/bug_000008.cpp : : : $(multi-threading) ] | |
152 | ; | |
153 | ||
154 | test-suite phoenix_algorithm : | |
155 | [ run algorithm/for_each.cpp ] | |
156 | [ run algorithm/for_each2.cpp ] | |
157 | [ run algorithm/for_test.cpp ] | |
158 | [ run algorithm/for_test2.cpp ] | |
159 | [ run algorithm/iteration.cpp ] | |
160 | [ run algorithm/transformation1.cpp ] | |
161 | [ run algorithm/transformation2.cpp ] | |
162 | [ run algorithm/transformation3.cpp ] | |
163 | [ run algorithm/transformation4.cpp ] | |
164 | [ run algorithm/querying.cpp ] | |
165 | [ run algorithm/querying_find.cpp ] | |
166 | [ run algorithm/querying2.cpp ] | |
167 | [ run algorithm/querying_find2.cpp ] | |
168 | ; | |
169 | ||
170 | test-suite phoenix_boost_bind_compatibility : | |
171 | [ run boost_bind_compatibility/bind_and_or_test.cpp ] | |
172 | [ run boost_bind_compatibility/bind_const_test.cpp ] | |
173 | [ run boost_bind_compatibility/bind_cv_test.cpp ] | |
174 | [ run boost_bind_compatibility/bind_dm_test.cpp ] | |
175 | # [ run boost_bind_compatibility/bind_dm1_test.cpp ] | |
176 | [ run boost_bind_compatibility/bind_dm2_test.cpp ] | |
177 | [ run boost_bind_compatibility/bind_dm3_test.cpp ] | |
178 | [ run boost_bind_compatibility/bind_eq_test.cpp ] | |
179 | [ run boost_bind_compatibility/bind_eq2_test.cpp ] | |
180 | [ run boost_bind_compatibility/bind_eq3_test.cpp ] | |
181 | [ run boost_bind_compatibility/bind_fn2_test.cpp ] | |
182 | [ run boost_bind_compatibility/bind_function_test.cpp ] | |
183 | [ run boost_bind_compatibility/bind_interoperation_test.cpp ] | |
184 | [ run boost_bind_compatibility/bind_mf2_test.cpp ] | |
185 | [ run boost_bind_compatibility/bind_not_test.cpp ] | |
186 | [ run boost_bind_compatibility/bind_placeholder_test.cpp ] | |
187 | [ run boost_bind_compatibility/bind_ref_test.cpp ] | |
188 | [ run boost_bind_compatibility/bind_rel_test.cpp ] | |
189 | [ run boost_bind_compatibility/bind_rvalue_test.cpp ] | |
190 | [ run boost_bind_compatibility/bind_rv_sp_test.cpp ] | |
191 | # [ run boost_bind_compatibility/bind_rv_sp1_test.cpp ] | |
192 | # [ run boost_bind_compatibility/bind_rv_sp2_test.cpp ] | |
193 | # [ run boost_bind_compatibility/bind_rv_sp3_test.cpp ] | |
194 | # [ run boost_bind_compatibility/bind_rv_sp4_test.cpp ] | |
195 | # [ run boost_bind_compatibility/bind_rv_sp5_test.cpp ] | |
196 | # [ run boost_bind_compatibility/bind_rv_sp6_test.cpp ] | |
197 | # [ run boost_bind_compatibility/bind_rv_sp7_test.cpp ] | |
198 | [ run boost_bind_compatibility/bind_stateful_test.cpp ] | |
199 | [ run boost_bind_compatibility/bind_test.cpp ] | |
200 | # [ run boost_bind_compatibility/bind_void_dm_test.cpp ] | |
201 | ; | |
202 | ||
203 | test-suite phoenix_regression : | |
204 | [ run regression/bug4853.cpp ] | |
205 | [ run regression/bug5626.cpp ] | |
206 | [ run regression/bug5824.cpp ] | |
207 | # [ run regression/bug5875.cpp ] | |
208 | [ run regression/bug5968.cpp ] | |
209 | [ run regression/bug6040.cpp ] | |
210 | [ run regression/bug6268.cpp ] | |
211 | [ run regression/bug7165.cpp ] | |
212 | [ compile-fail regression/bug7166.cpp ] | |
213 | [ run regression/bug7624.cpp ] | |
214 | ; | |
215 | ||
216 | test-suite phoenix_include : | |
217 | [ run include/bind.cpp ] | |
218 | [ run include/core.cpp ] | |
219 | [ run include/function.cpp ] | |
220 | [ run include/fusion.cpp ] | |
221 | [ run include/object.cpp ] | |
222 | [ run include/operator.cpp ] | |
223 | [ run include/scope.cpp ] | |
224 | # [ run include/spirit.cpp ] | |
225 | # [ run include/spirit_no_specialize.cpp ] | |
226 | [ run include/statement.cpp ] | |
227 | [ run include/stl.cpp ] | |
228 | [ run include/version.cpp ] | |
229 | [ run include/bind/bind_member_function.cpp ] | |
230 | [ run include/bind/bind_member_variable.cpp ] | |
231 | [ run include/core/actor.cpp ] | |
232 | [ run include/core/argument.cpp ] | |
233 | [ run include/core/arity.cpp ] | |
234 | [ run include/core/debug.cpp ] | |
235 | [ run include/core/domain.cpp ] | |
236 | [ run include/core/environment.cpp ] | |
237 | [ run include/core/expression.cpp ] | |
238 | [ run include/core/function_equal.cpp ] | |
239 | [ run include/core/is_actor.cpp ] | |
240 | [ run include/core/is_nullary.cpp ] | |
241 | [ run include/core/limits.cpp ] | |
242 | [ run include/core/meta_grammar.cpp ] | |
243 | [ run include/core/nothing.cpp ] | |
244 | [ run include/core/reference.cpp ] | |
245 | [ run include/core/terminal.cpp ] | |
246 | # [ run include/core/bug7730.cpp ] | |
247 | [ run include/core/value.cpp ] | |
248 | [ run include/core/visit_each.cpp ] | |
249 | [ run include/function/function.cpp : : : : function_function ] | |
250 | [ run include/function/lazy_headers.cpp ] | |
251 | [ run include/fusion/at.cpp ] | |
252 | [ run include/object/const_cast.cpp ] | |
253 | [ run include/object/construct.cpp ] | |
254 | [ run include/object/delete.cpp ] | |
255 | [ run include/object/dynamic_cast.cpp ] | |
256 | [ run include/object/new.cpp ] | |
257 | [ run include/object/reinterpret_cast.cpp ] | |
258 | [ run include/object/static_cast.cpp ] | |
259 | [ run include/operator/arithmetic.cpp ] | |
260 | [ run include/operator/bitwise.cpp ] | |
261 | [ run include/operator/comparison.cpp ] | |
262 | [ run include/operator/if_else.cpp ] | |
263 | [ run include/operator/io.cpp ] | |
264 | [ run include/operator/logical.cpp ] | |
265 | [ run include/operator/member.cpp : : : : operator_member ] | |
266 | [ run include/operator/self.cpp ] | |
267 | [ run include/scope/dynamic.cpp ] | |
268 | [ run include/scope/lambda.cpp ] | |
269 | [ run include/scope/let.cpp ] | |
270 | [ run include/scope/local_variable.cpp ] | |
271 | [ run include/scope/scoped_environment.cpp ] | |
272 | [ run include/scope/this.cpp ] | |
273 | [ run include/statement/do_while.cpp ] | |
274 | [ run include/statement/for.cpp ] | |
275 | [ run include/statement/if.cpp ] | |
276 | [ run include/statement/sequence.cpp ] | |
277 | [ run include/statement/switch.cpp ] | |
278 | [ run include/statement/throw.cpp ] | |
279 | [ run include/statement/try_catch.cpp ] | |
280 | [ run include/statement/while.cpp ] | |
281 | [ run include/stl/algorithm.cpp ] | |
282 | [ run include/stl/container.cpp ] | |
283 | [ run include/stl/container/container.cpp : : : : container_container ] | |
284 | [ run include/stl/algorithm/iteration.cpp : : : : include_iteration ] | |
285 | [ run include/stl/algorithm/querying.cpp : : : : include_querying ] | |
286 | [ run include/stl/algorithm/transformation.cpp ] | |
287 | [ run include/support/iterate.cpp ] | |
288 | [ run include/support/preprocessor/round.cpp ] | |
289 | ; |