1#  (C) Copyright Edward Diener 2010-2015
2#  Use, modification and distribution are subject to the Boost Software License,
3#  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4#  http://www.boost.org/LICENSE_1_0.txt).
5#
6# VariadicMacroData testing Jamfile
7#
8
9import testing ;
10import ../../predef/check/predef
11    : check require
12    : predef-check predef-require ;
13
14project variadic_macro_data_tests : requirements <warnings>on
15                                                 <test-info>always_show_run_output
16                                                 <toolset>msvc:<warnings>all
17                                                 <toolset>msvc:<cxxflags>-wd4003
18                                                 <toolset>clang:<cxxflags>-pedantic-errors
19                                                 <toolset>gcc:<warnings>all
20                                                 <toolset>gcc:<cxxflags>-pedantic-errors
21                                                 [ predef-check "BOOST_COMP_GNUC >= 4.7.4" : : <cxxflags>-ftrack-macro-expansion=0 ]
22                                                 [ predef-check "BOOST_COMP_GNUC >= 4.3.0" : : <cxxflags>-Wno-variadic-macros ]
23                                                 <toolset>gcc-4.3.0:<cxxflags>-U__STRICT_ANSI__
24                                                 <toolset>gcc-4.4.0:<cxxflags>-U__STRICT_ANSI__
25                                                 <toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
26                                                 ;
27
28alias variadic_macro_data
29    :
30       [ run test_after_array_elem.cpp ]
31       [ run test_after_identifier_elem.cpp ]
32       [ run test_after_list_elem.cpp ]
33       [ run test_after_number_elem.cpp ]
34       [ run test_after_seq_elem.cpp ]
35       [ run test_after_tuple_elem.cpp ]
36       [ run test_after_type_elem.cpp ]
37       [ run test_array_elem.cpp ]
38       [ run test_array_empty.cpp ]
39       [ run test_array_equal.cpp ]
40       [ run test_array_to_seq.cpp ]
41       [ run test_array_to_tuple.cpp ]
42       [ run test_ary.cpp ]
43       [ compile test_assert.cpp ]
44       [ compile-fail test_assert_fail.cpp ]
45       [ compile-fail test_assert_fail_array.cpp ]
46       [ compile-fail test_assert_fail_identifier.cpp ]
47       [ compile-fail test_assert_fail_is_empty.cpp ]
48       [ compile-fail test_assert_fail_is_identifier.cpp ]
49       [ compile-fail test_assert_fail_is_number.cpp ]
50       [ compile-fail test_assert_fail_list.cpp ]
51       [ compile-fail test_assert_fail_number.cpp ]
52       [ compile-fail test_assert_fail_seq.cpp ]
53       [ compile-fail test_assert_fail_tuple.cpp ]
54       [ compile-fail test_assert_fail_vcstring.cpp ]
55       [ compile test_assert_is_array.cpp :
56         <define>BOOST_VMD_ASSERT_DATA=1 ]
57       [ compile-fail test_assert_is_array_fail.cpp :
58         <define>BOOST_VMD_ASSERT_DATA=1 ]
59       [ compile-fail test_assert_is_array_fail2.cpp :
60         <define>BOOST_VMD_ASSERT_DATA=1 ]
61       [ compile-fail test_assert_is_array_fail3.cpp :
62         <define>BOOST_VMD_ASSERT_DATA=1 ]
63       [ compile-fail test_assert_is_array_fail4.cpp :
64         <define>BOOST_VMD_ASSERT_DATA=1 ]
65       [ compile test_assert_is_empty.cpp :
66         <define>BOOST_VMD_ASSERT_DATA=1 ]
67       [ compile-fail test_assert_is_empty_fail.cpp :
68         <define>BOOST_VMD_ASSERT_DATA=1 ]
69       [ compile-fail test_assert_is_empty_fail2.cpp :
70         <define>BOOST_VMD_ASSERT_DATA=1 ]
71       [ compile-fail test_assert_is_empty_fail3.cpp :
72         <define>BOOST_VMD_ASSERT_DATA=1 ]
73       [ compile test_assert_is_identifier.cpp :
74         <define>BOOST_VMD_ASSERT_DATA=1 ]
75       [ compile-fail test_assert_is_identifier_fail.cpp :
76         <define>BOOST_VMD_ASSERT_DATA=1 ]
77       [ compile test_assert_is_list.cpp :
78         <define>BOOST_VMD_ASSERT_DATA=1 ]
79       [ compile-fail test_assert_is_list_fail.cpp :
80         <define>BOOST_VMD_ASSERT_DATA=1 ]
81       [ compile-fail test_assert_is_list_fail2.cpp :
82         <define>BOOST_VMD_ASSERT_DATA=1 ]
83       [ compile-fail test_assert_is_list_fail3.cpp :
84         <define>BOOST_VMD_ASSERT_DATA=1 ]
85       [ compile-fail test_assert_is_list_fail4.cpp :
86         <define>BOOST_VMD_ASSERT_DATA=1 ]
87       [ compile test_assert_is_number.cpp :
88         <define>BOOST_VMD_ASSERT_DATA=1 ]
89       [ compile-fail test_assert_is_number_fail.cpp :
90         <define>BOOST_VMD_ASSERT_DATA=1 ]
91       [ compile test_assert_is_seq.cpp :
92         <define>BOOST_VMD_ASSERT_DATA=1 ]
93       [ compile-fail test_assert_is_seq_fail.cpp :
94         <define>BOOST_VMD_ASSERT_DATA=1 ]
95       [ compile-fail test_assert_is_seq_fail2.cpp :
96         <define>BOOST_VMD_ASSERT_DATA=1 ]
97       [ compile-fail test_assert_is_seq_fail3.cpp :
98         <define>BOOST_VMD_ASSERT_DATA=1 ]
99       [ compile-fail test_assert_is_seq_fail4.cpp :
100         <define>BOOST_VMD_ASSERT_DATA=1 ]
101       [ compile test_assert_is_tuple.cpp :
102         <define>BOOST_VMD_ASSERT_DATA=1 ]
103       [ compile-fail test_assert_is_tuple_fail.cpp :
104         <define>BOOST_VMD_ASSERT_DATA=1 ]
105       [ compile-fail test_assert_is_tuple_fail2.cpp :
106         <define>BOOST_VMD_ASSERT_DATA=1 ]
107       [ compile-fail test_assert_is_tuple_fail3.cpp :
108         <define>BOOST_VMD_ASSERT_DATA=1 ]
109       [ compile-fail test_assert_is_tuple_fail4.cpp :
110         <define>BOOST_VMD_ASSERT_DATA=1 ]
111       [ compile test_assert_is_type.cpp :
112         <define>BOOST_VMD_ASSERT_DATA=1 ]
113       [ compile-fail test_assert_is_type_fail.cpp :
114         <define>BOOST_VMD_ASSERT_DATA=1 ]
115       [ compile test_doc_assert.cpp :
116         <define>BOOST_VMD_ASSERT_DATA=1 ]
117       [ compile-fail test_doc_assert_fail.cpp :
118         <define>BOOST_VMD_ASSERT_DATA=1 ]
119       [ run test_doc_empty.cpp ]
120       [ compile-fail test_doc_empty_fail.cpp ]
121       [ compile-fail test_doc_empty_fail2.cpp ]
122       [ compile-fail test_doc_empty_fail3.cpp ]
123       [ compile-fail test_doc_empty_fail4.cpp ]
124       [ compile-fail test_doc_empty_fail6.cpp ]
125       [ compile-fail test_doc_empty_fail7.cpp ]
126       [ compile-fail test_doc_empty_fail8.cpp ]
127       [ run test_doc_equality.cpp ]
128       [ run test_doc_example_switch.cpp ]
129       [ run test_doc_get_type.cpp ]
130       [ run test_doc_identifier.cpp ]
131       [ run test_doc_identifier_subtyping.cpp ]
132       [ run test_doc_modifiers_filter.cpp ]
133       [ run test_doc_modifiers_identifier.cpp ]
134       [ run test_doc_modifiers_index.cpp ]
135       [ run test_doc_modifiers_return_type.cpp : : : [ predef-require "BOOST_COMP_CLANG == 0" or "BOOST_COMP_CLANG >= 10" ] ]
136       [ run test_doc_modifiers_splitting.cpp ]
137       [ run test_doc_number.cpp ]
138       [ run test_doc_type.cpp ]
139       [ run test_doc_pp_data_types.cpp ]
140       [ run test_doc_sequence.cpp ]
141       [ run test_doc_sequence_access.cpp ]
142       [ run test_doc_sequence_convert.cpp ]
143       [ run test_doc_whyhow.cpp ]
144       [ run test_equal.cpp ]
145       [ run test_equal_array.cpp ]
146       [ run test_equal_identifier.cpp ]
147       [ run test_equal_list.cpp ]
148       [ run test_equal_multi.cpp ]
149       [ run test_equal_number.cpp ]
150       [ run test_equal_seq.cpp ]
151       [ run test_equal_tuple.cpp ]
152       [ run test_equal_type.cpp ]
153       [ run test_identifier_elem.cpp ]
154       [ run test_identifier_equal.cpp ]
155       [ run test_is_array.cpp ]
156       [ run-fail test_is_array_fail.cpp ]
157       [ run-fail test_is_array_fail2.cpp ]
158       [ run-fail test_is_array_fail3.cpp ]
159       [ run-fail test_is_array_fail4.cpp ]
160       [ run test_is_empty.cpp ]
161       [ compile-fail test_is_empty_fail.cpp ]
162       [ run test_is_identifier.cpp ]
163       [ run test_is_list.cpp ]
164       [ run-fail test_is_list_fail.cpp ]
165       [ run-fail test_is_list_fail2.cpp ]
166       [ run-fail test_is_list_fail3.cpp ]
167       [ run-fail test_is_list_fail4.cpp ]
168       [ run test_is_number.cpp ]
169       [ run test_is_parens_empty.cpp ]
170       [ run test_is_seq.cpp ]
171       [ run-fail test_is_seq_fail.cpp ]
172       [ run-fail test_is_seq_fail2.cpp ]
173       [ run-fail test_is_seq_fail3.cpp ]
174       [ run-fail test_is_seq_fail4.cpp ]
175       [ run test_is_tuple.cpp ]
176       [ run-fail test_is_tuple_fail.cpp ]
177       [ run-fail test_is_tuple_fail2.cpp ]
178       [ run-fail test_is_tuple_fail3.cpp ]
179       [ run-fail test_is_tuple_fail4.cpp ]
180       [ run test_is_type.cpp ]
181       [ run test_is_vmd_seq.cpp ]
182       [ run test_is_vmd_tuple.cpp ]
183       [ run test_list_elem.cpp ]
184       [ run test_list_empty.cpp ]
185       [ run test_list_equal.cpp ]
186       [ run test_list_to_seq.cpp ]
187       [ run test_list_to_tuple.cpp ]
188       [ run test_number_elem.cpp ]
189       [ run test_number_equal.cpp ]
190       [ run test_seq_elem.cpp ]
191       [ run test_seq_equal.cpp ]
192       [ run test_seq_pop_back.cpp ]
193       [ run test_seq_pop_front.cpp ]
194       [ run test_seq_push_back.cpp ]
195       [ run test_seq_push_front.cpp ]
196       [ run test_seq_remove.cpp ]
197       [ run test_seq_size.cpp ]
198       [ run test_seq_to_array.cpp ]
199       [ run test_seq_to_list.cpp ]
200       [ run test_seq_to_tuple.cpp ]
201       [ run test_sequence_after_elem.cpp ]
202       [ run test_sequence_elem.cpp ]
203       [ run test_sequence_enum.cpp ]
204       [ run test_sequence_size.cpp ]
205       [ run test_sequence_to_array.cpp ]
206       [ run test_sequence_to_list.cpp ]
207       [ run test_sequence_to_seq.cpp ]
208       [ run test_sequence_to_tuple.cpp ]
209       [ run test_tuple_elem.cpp ]
210       [ run test_tuple_equal.cpp ]
211       [ run test_tuple_pop_back.cpp ]
212       [ run test_tuple_pop_front.cpp ]
213       [ run test_tuple_push_back.cpp ]
214       [ run test_tuple_push_front.cpp ]
215       [ run test_tuple_remove.cpp ]
216       [ run test_tuple_size.cpp ]
217       [ run test_tuple_to_array.cpp ]
218       [ run test_tuple_to_list.cpp ]
219       [ run test_tuple_to_seq.cpp ]
220       [ run test_type.cpp ]
221       [ run test_type_elem.cpp ]
222       [ run test_type_equal.cpp ]
223       [ run test_variadic_macro.cpp ]
224    ;
225