]>
Commit | Line | Data |
---|---|---|
1 | # Boost.Mp11 Library Test Jamfile | |
2 | # | |
3 | # Copyright 2015-2019 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 testing ; | |
10 | import ../../config/checks/config : requires ; | |
11 | ||
12 | project | |
13 | : requirements | |
14 | ||
15 | [ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ] | |
16 | ||
17 | <warnings>extra | |
18 | ||
19 | <toolset>msvc:<warnings-as-errors>on | |
20 | <toolset>gcc:<warnings-as-errors>on | |
21 | <toolset>clang:<warnings-as-errors>on | |
22 | ; | |
23 | ||
24 | # include-only | |
25 | compile mp11.cpp ; | |
26 | ||
27 | # list | |
28 | run mp_size.cpp ; | |
29 | run mp_empty.cpp ; | |
30 | run mp_front.cpp ; | |
31 | run mp_pop_front.cpp ; | |
32 | run mp_second.cpp ; | |
33 | run mp_third.cpp ; | |
34 | run mp_push_front.cpp ; | |
35 | run mp_push_back.cpp ; | |
36 | run mp_rename.cpp ; | |
37 | run mp_append.cpp ; | |
38 | run mp_append_2.cpp ; | |
39 | run mp_append_sf.cpp ; | |
40 | run mp_replace_front.cpp ; | |
41 | run mp_replace_second.cpp ; | |
42 | run mp_replace_third.cpp ; | |
43 | run mp_apply_q.cpp ; | |
44 | run mp_is_list.cpp ; | |
45 | run mp_list_c.cpp ; | |
46 | run mp_transform_front.cpp ; | |
47 | run mp_transform_second.cpp ; | |
48 | run mp_transform_third.cpp ; | |
49 | ||
50 | # algorithm | |
51 | run mp_assign.cpp ; | |
52 | run mp_clear.cpp ; | |
53 | run mp_transform.cpp ; | |
54 | run mp_transform_q.cpp ; | |
55 | run mp_transform_sf.cpp ; | |
56 | run mp_transform_if.cpp ; | |
57 | run mp_transform_if_q.cpp ; | |
58 | run mp_filter.cpp ; | |
59 | run mp_fill.cpp ; | |
60 | run mp_count.cpp ; | |
61 | run mp_count_if.cpp ; | |
62 | run mp_count_if_q.cpp ; | |
63 | run mp_contains.cpp ; | |
64 | run mp_starts_with.cpp ; | |
65 | run mp_starts_with_sf.cpp ; | |
66 | run mp_repeat.cpp ; | |
67 | run mp_product.cpp ; | |
68 | run mp_drop.cpp ; | |
69 | run mp_iota.cpp ; | |
70 | run mp_at.cpp ; | |
71 | run mp_at_sf.cpp : : : <toolset>gcc-4.7:<warnings>all ; | |
72 | run mp_take.cpp ; | |
73 | run mp_replace.cpp ; | |
74 | run mp_replace_if.cpp ; | |
75 | run mp_replace_if_q.cpp ; | |
76 | run mp_copy_if.cpp ; | |
77 | run mp_copy_if_q.cpp ; | |
78 | run mp_remove.cpp ; | |
79 | run mp_remove_if.cpp ; | |
80 | run mp_remove_if_q.cpp ; | |
81 | run mp_partition.cpp ; | |
82 | run mp_partition_q.cpp ; | |
83 | run mp_sort.cpp ; | |
84 | run mp_sort_q.cpp ; | |
85 | run mp_find.cpp ; | |
86 | run mp_find_if.cpp ; | |
87 | run mp_find_if_q.cpp ; | |
88 | run mp_reverse.cpp ; | |
89 | run mp_fold.cpp ; | |
90 | run mp_fold_q.cpp ; | |
91 | run mp_reverse_fold.cpp ; | |
92 | run mp_reverse_fold_q.cpp ; | |
93 | run mp_unique.cpp ; | |
94 | run mp_unique_if.cpp ; | |
95 | run mp_unique_if_q.cpp ; | |
96 | run mp_all_of.cpp ; | |
97 | run mp_all_of_q.cpp ; | |
98 | run mp_any_of.cpp ; | |
99 | run mp_any_of_q.cpp ; | |
100 | run mp_none_of.cpp ; | |
101 | run mp_none_of_q.cpp ; | |
102 | run mp_replace_at.cpp ; | |
103 | run mp_replace_at_c.cpp ; | |
104 | run mp_for_each.cpp ; | |
105 | run mp_insert.cpp ; | |
106 | run mp_erase.cpp ; | |
107 | run mp_with_index.cpp ; | |
108 | run mp_with_index_cx.cpp ; | |
109 | run mp_from_sequence.cpp ; | |
110 | run mp_min_element.cpp ; | |
111 | run mp_min_element_q.cpp ; | |
112 | run mp_max_element.cpp ; | |
113 | run mp_max_element_q.cpp ; | |
114 | run mp_nth_element.cpp ; | |
115 | run mp_nth_element_q.cpp ; | |
116 | run mp_back.cpp ; | |
117 | run mp_pop_back.cpp ; | |
118 | run mp_flatten.cpp ; | |
119 | run mp_rotate_left.cpp ; | |
120 | run mp_rotate_right.cpp ; | |
121 | run mp_power_set.cpp ; | |
122 | run mp_partial_sum.cpp ; | |
123 | run mp_iterate.cpp ; | |
124 | run mp_pairwise_fold.cpp ; | |
125 | run mp_pairwise_fold_q.cpp ; | |
126 | run mp_intersperse.cpp ; | |
127 | run mp_split.cpp ; | |
128 | run mp_join.cpp ; | |
129 | ||
130 | # integral | |
131 | run integral.cpp ; | |
132 | ||
133 | # utility | |
134 | run mp_identity.cpp ; | |
135 | run mp_inherit.cpp ; | |
136 | run mp_if.cpp ; | |
137 | run mp_if_sf.cpp ; | |
138 | run mp_eval_if.cpp ; | |
139 | run mp_eval_if_sf.cpp ; | |
140 | run mp_valid.cpp ; | |
141 | run mp_defer.cpp ; | |
142 | run mp_quote.cpp ; | |
143 | run mp_invoke_q.cpp ; | |
144 | run mp_invoke_q_sf.cpp ; | |
145 | run mp_quote_trait.cpp ; | |
146 | run mp_cond.cpp ; | |
147 | run mp_cond_sf.cpp ; | |
148 | run mp_not_fn.cpp ; | |
149 | run mp_eval_if_not.cpp ; | |
150 | run mp_eval_or.cpp ; | |
151 | run mp_compose.cpp ; | |
152 | run mp_valid_and_true.cpp ; | |
153 | ||
154 | # integer_sequence | |
155 | run integer_sequence.cpp ; | |
156 | ||
157 | # tuple | |
158 | run tuple_for_each.cpp ; | |
159 | compile tuple_for_each_cx.cpp ; | |
160 | run tuple_apply.cpp ; | |
161 | compile tuple_apply_cx.cpp ; | |
162 | run construct_from_tuple.cpp ; | |
163 | compile construct_from_tuple_cx.cpp ; | |
164 | run tuple_transform.cpp ; | |
165 | run tuple_transform_2.cpp ; | |
166 | compile tuple_transform_cx.cpp ; | |
167 | ||
168 | # set | |
169 | run mp_set_contains.cpp ; | |
170 | run mp_set_push_back.cpp ; | |
171 | run mp_set_push_front.cpp ; | |
172 | run mp_is_set.cpp ; | |
173 | run mp_set_union.cpp ; | |
174 | run mp_set_union_sf.cpp ; | |
175 | run mp_set_difference.cpp ; | |
176 | run mp_set_difference_sf.cpp ; | |
177 | run mp_set_intersection.cpp ; | |
178 | run mp_set_intersection_sf.cpp ; | |
179 | ||
180 | # function | |
181 | run mp_all.cpp ; | |
182 | run mp_all_2.cpp ; | |
183 | run mp_and.cpp ; | |
184 | run mp_any.cpp ; | |
185 | run mp_any_2.cpp ; | |
186 | run mp_or.cpp ; | |
187 | run mp_same.cpp ; | |
188 | run mp_plus.cpp ; | |
189 | run mp_less.cpp ; | |
190 | run mp_min.cpp ; | |
191 | run mp_max.cpp ; | |
192 | run mp_similar.cpp ; | |
193 | ||
194 | # map | |
195 | run mp_map_find.cpp ; | |
196 | run mp_map_find_2.cpp ; | |
197 | run mp_map_find_3.cpp ; | |
198 | run mp_map_contains.cpp ; | |
199 | run mp_map_insert.cpp ; | |
200 | run mp_map_replace.cpp ; | |
201 | run mp_map_erase.cpp ; | |
202 | run mp_map_update.cpp ; | |
203 | run mp_map_update_q.cpp ; | |
204 | run mp_map_keys.cpp ; | |
205 | run mp_is_map.cpp ; | |
206 | ||
207 | # bind | |
208 | run mp_bind.cpp ; | |
209 | run mp_bind_q.cpp ; | |
210 | run mp_bind_front.cpp ; | |
211 | run mp_bind_back.cpp ; | |
212 | ||
213 | # mpl | |
214 | run mpl.cpp : ; | |
215 | run mpl_list.cpp : ; | |
216 | run mpl_tuple.cpp : ; | |
217 | ||
218 | # version | |
219 | run version.cpp ; | |
220 | run mp11_version.cpp ; | |
221 | run list_version.cpp ; | |
222 | run algorithm_version.cpp ; | |
223 | run integral_version.cpp ; | |
224 | run utility_version.cpp ; | |
225 | run function_version.cpp ; | |
226 | run map_version.cpp ; | |
227 | run set_version.cpp ; | |
228 | run bind_version.cpp ; | |
229 | run integer_sequence_version.cpp ; | |
230 | run tuple_version.cpp ; | |
231 | run mpl_version.cpp ; | |
232 | ||
233 | # quick (for CI) | |
234 | alias quick : mp11 mp_size ; | |
235 | explicit quick ; |