]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/preprocessor/test/Jamfile.v2
100df3b33b20a77af32da6a2e38809ec9a149ac2
[ceph.git] / ceph / src / boost / libs / preprocessor / test / Jamfile.v2
1 #~ Copyright Rene Rivera 2008
2 #~ Distributed under the Boost Software License, Version 1.0.
3 #~ (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5 import testing ;
6
7 project preprocessor_tests : requirements <warnings>on
8 <toolset>gcc-4.3.0:<warnings>all
9 <toolset>gcc-4.3.0:<cxxflags>-Wno-variadic-macros
10 <toolset>gcc-4.4.0:<warnings>all
11 <toolset>gcc-4.4.0:<cxxflags>-Wno-variadic-macros
12 <toolset>gcc-4.5.0:<warnings>all
13 <toolset>gcc-4.5.0:<cxxflags>-Wno-variadic-macros
14 <toolset>gcc-4.5.0:<linkflags>"-Wl,--enable-auto-import"
15 <toolset>gcc-4.5.2:<warnings>all
16 <toolset>gcc-4.5.2:<cxxflags>-Wno-variadic-macros
17 <toolset>msvc:<warnings>all
18 ;
19
20 test-suite preprocessor
21 :
22 [ compile arithmetic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
23 [ compile array.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
24 [ compile comparison.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
25 [ compile control.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
26 [ compile debug.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
27 [ compile facilities.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
28 [ compile iteration.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
29 [ compile list.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
30 [ compile logical.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
31 [ compile punctuation.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
32 [ compile repetition.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
33 [ compile selection.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
34 [ compile seq.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
35 [ compile slot.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
36 [ compile tuple.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
37 [ compile variadic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
38 ;
39
40 test-suite preprocessor_nvm
41 :
42 [ compile arithmetic.cpp : <define>BOOST_PP_VARIADICS=0 : arithmetic_nvm ]
43 [ compile array.cpp : <define>BOOST_PP_VARIADICS=0 : array_nvm ]
44 [ compile comparison.cpp : <define>BOOST_PP_VARIADICS=0 : comparison_nvm ]
45 [ compile control.cpp : <define>BOOST_PP_VARIADICS=0 : control_nvm ]
46 [ compile debug.cpp : <define>BOOST_PP_VARIADICS=0 : debug_nvm ]
47 [ compile facilities.cpp : <define>BOOST_PP_VARIADICS=0 : facilities_nvm ]
48 [ compile iteration.cpp : <define>BOOST_PP_VARIADICS=0 : iteration_nvm ]
49 [ compile list.cpp : <define>BOOST_PP_VARIADICS=0 : list_nvm ]
50 [ compile logical.cpp : <define>BOOST_PP_VARIADICS=0 : logical_nvm ]
51 [ compile repetition.cpp : <define>BOOST_PP_VARIADICS=0 : repetition_nvm ]
52 [ compile selection.cpp : <define>BOOST_PP_VARIADICS=0 : selection_nvm ]
53 [ compile seq.cpp : <define>BOOST_PP_VARIADICS=0 : seq_nvm ]
54 [ compile slot.cpp : <define>BOOST_PP_VARIADICS=0 : slot_nvm ]
55 [ compile tuple.cpp : <define>BOOST_PP_VARIADICS=0 : tuple_nvm ]
56 ;
57
58 test-suite preprocessor_c
59 :
60 [ compile arithmetic.c
61 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
62 : arithmetic_c
63 ]
64 [ compile array.c
65 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
66 : array_c
67 ]
68 [ compile comparison.c
69 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
70 : comparison_c
71 ]
72 [ compile control.c
73 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
74 : control_c
75 ]
76 [ compile debug.c
77 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
78 : debug_c
79 ]
80 [ compile facilities.c
81 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
82 : facilities_c
83 ]
84 [ compile list.c
85 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
86 : list_c
87 ]
88 [ compile logical.c
89 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
90 : logical_c
91 ]
92 [ compile punctuation.c
93 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
94 : punctuation_c
95 ]
96 [ compile selection.c
97 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
98 : selection_c
99 ]
100 [ compile seq.c
101 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
102 : seq_c
103 ]
104 [ compile slot.c
105 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
106 : slot_c
107 ]
108 [ compile tuple.c
109 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
110 : tuple_c
111 ]
112 [ compile variadic.c
113 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
114 : variadic_c
115 ]
116 ;
117
118 test-suite preprocessor_c_nvm
119 :
120 [ compile arithmetic.c
121 : <define>BOOST_PP_VARIADICS=0
122 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
123 : arithmetic_c_nvm
124 ]
125 [ compile array.c
126 : <define>BOOST_PP_VARIADICS=0
127 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
128 : array_c_nvm
129 ]
130 [ compile comparison.c
131 : <define>BOOST_PP_VARIADICS=0
132 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
133 : comparison_c_nvm
134 ]
135 [ compile control.c
136 : <define>BOOST_PP_VARIADICS=0
137 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
138 : control_c_nvm
139 ]
140 [ compile debug.c
141 : <define>BOOST_PP_VARIADICS=0
142 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
143 : debug_c_nvm
144 ]
145 [ compile facilities.c
146 : <define>BOOST_PP_VARIADICS=0
147 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
148 : facilities_c_nvm
149 ]
150 [ compile list.c
151 : <define>BOOST_PP_VARIADICS=0
152 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
153 : list_c_nvm
154 ]
155 [ compile logical.c
156 : <define>BOOST_PP_VARIADICS=0
157 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
158 : logical_c_nvm
159 ]
160 [ compile selection.c
161 : <define>BOOST_PP_VARIADICS=0
162 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
163 : selection_c_nvm
164 ]
165 [ compile seq.c
166 : <define>BOOST_PP_VARIADICS=0
167 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
168 : seq_c_nvm
169 ]
170 [ compile slot.c
171 : <define>BOOST_PP_VARIADICS=0
172 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
173 : slot_c_nvm
174 ]
175 [ compile tuple.c
176 : <define>BOOST_PP_VARIADICS=0
177 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
178 : tuple_c_nvm
179 ]
180 ;
181
182 test-suite preprocessor_isempty
183 :
184 [ compile isempty.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
185 [ compile-fail isempty_variadic_standard_failure.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
186 [ compile-fail isempty_variadic_standard_failure2.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
187 ;
188
189 test-suite preprocessor_isempty_nvm
190 :
191 [ compile isempty.cpp : <define>BOOST_PP_VARIADICS=0 : isempty_nvm ]
192 ;
193
194 test-suite preprocessor_isempty_c
195 :
196 [ compile isempty.c
197 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
198 : isempty_c
199 ]
200 [ compile-fail isempty_variadic_standard_failure.c
201 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
202 : isempty_variadic_standard_failure_c
203 ]
204 [ compile-fail isempty_variadic_standard_failure2.c
205 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
206 : isempty_variadic_standard_failure2_c
207 ]
208 ;
209
210 test-suite preprocessor_isempty_c_nvm
211 :
212 [ compile isempty.c
213 : <define>BOOST_PP_VARIADICS=0
214 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
215 : isempty_c_nvm
216 ]
217 ;