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