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)
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
20 test-suite preprocessor
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 ]
40 test-suite preprocessor_nvm
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 ]
58 test-suite preprocessor_c
60 [ compile arithmetic.c
61 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
65 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
68 [ compile comparison.c
69 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
73 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
77 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
80 [ compile facilities.c
81 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
85 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
89 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
92 [ compile punctuation.c
93 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
97 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
101 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
105 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
109 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
113 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
118 test-suite preprocessor_c_nvm
120 [ compile arithmetic.c
121 : <define>BOOST_PP_VARIADICS=0
122 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
126 : <define>BOOST_PP_VARIADICS=0
127 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
130 [ compile comparison.c
131 : <define>BOOST_PP_VARIADICS=0
132 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
136 : <define>BOOST_PP_VARIADICS=0
137 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
141 : <define>BOOST_PP_VARIADICS=0
142 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
145 [ compile facilities.c
146 : <define>BOOST_PP_VARIADICS=0
147 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
151 : <define>BOOST_PP_VARIADICS=0
152 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
156 : <define>BOOST_PP_VARIADICS=0
157 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
160 [ compile selection.c
161 : <define>BOOST_PP_VARIADICS=0
162 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
166 : <define>BOOST_PP_VARIADICS=0
167 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
171 : <define>BOOST_PP_VARIADICS=0
172 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
176 : <define>BOOST_PP_VARIADICS=0
177 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
182 test-suite preprocessor_isempty
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 ]
189 test-suite preprocessor_isempty_nvm
191 [ compile isempty.cpp : <define>BOOST_PP_VARIADICS=0 : isempty_nvm ]
194 test-suite preprocessor_isempty_c
197 : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
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
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
210 test-suite preprocessor_isempty_c_nvm
213 : <define>BOOST_PP_VARIADICS=0
214 <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99