]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/date_time/test/Jamfile.v2
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / date_time / test / Jamfile.v2
1 import os ;
2 import testing ;
3
4 local DATE_TIME_DYNAMIC_PROPERTIES = <define>BOOST_ALL_DYN_LINK <runtime-link>shared <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG <define>BOOST_ALL_NO_LIB ;
5 local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
6 # FIXME
7 #std::locale-support
8 <define>BOOST_ALL_NO_LIB ;
9
10
11 test-suite date_time_core
12 :
13 [ run testint_adapter.cpp ]
14 [ run testtime_resolution_traits.cpp ]
15 [ run testwrapping_int.cpp ]
16 [ run testconstrained_value.cpp ]
17 [ run testgregorian_calendar.cpp ]
18 [ run testgeneric_period.cpp ]
19 ;
20
21 test-suite date_time_gregorian
22 :
23 [ run gregorian/testdate.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
24 [ run gregorian/testdate_duration.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
25 [ run gregorian/testgreg_durations.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
26 [ run gregorian/testperiod.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
27 [ run gregorian/testdate_iterator.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
28 [ run gregorian/testformatters.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
29 ### streaming
30 [ run gregorian/testdate_facet_new.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
31 [ run gregorian/testdate_input_facet.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
32 ###
33 [ run gregorian/testgenerators.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
34 [ run gregorian/testgreg_cal.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
35 [ run gregorian/testgreg_day.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
36 [ run gregorian/testgreg_month.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
37 [ run gregorian/testgreg_year.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) ]
38 ;
39 test-suite date_time_gregorian_dll
40 :
41 [ run gregorian/testdate.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testdate_dll ]
42 [ run gregorian/testdate_duration.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testdate_duration_dll ]
43 [ run gregorian/testperiod.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testperiod_dll ]
44 [ run gregorian/testdate_iterator.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testdate_iterator_dll ]
45 [ run gregorian/testformatters.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testformatters_dll ]
46 ### streaming
47 [ run gregorian/testdate_facet_new.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testdate_facet_new_dll ]
48 [ run gregorian/testdate_input_facet.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testdate_input_facet_dll ]
49 ###
50 [ run gregorian/testgenerators.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgenerators_dll ]
51 [ run gregorian/testgreg_cal.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgreg_cal_dll ]
52 [ run gregorian/testgreg_day.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgreg_day_dll ]
53 [ run gregorian/testgreg_month.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgreg_month_dll ]
54 [ run gregorian/testgreg_year.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgreg_year_dll ]
55 [ run gregorian/testgreg_durations.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) : testgreg_durations_dll ]
56 ;
57
58 test-suite date_time_posixtime
59 :
60 [ run posix_time/testfiletime_functions.cpp
61 ../build//boost_date_time/<link>static
62 : : : $(DATE_TIME_PROPERTIES) ]
63 [ run posix_time/testlocal_adjustor.cpp
64 ../build//boost_date_time/<link>static
65 : : : $(DATE_TIME_PROPERTIES) ]
66 [ run posix_time/testc_local_adjustor.cpp
67 ../build//boost_date_time/<link>static
68 : : : $(DATE_TIME_PROPERTIES) ]
69 [ run posix_time/testclock.cpp
70 ../build//boost_date_time/<link>static
71 : : : $(DATE_TIME_PROPERTIES) ]
72 [ run posix_time/testdst_rules.cpp
73 ../build//boost_date_time/<link>static
74 : : : $(DATE_TIME_PROPERTIES) ]
75 [ run posix_time/testduration.cpp
76 ../build//boost_date_time/<link>static
77 : : : $(DATE_TIME_PROPERTIES) ]
78 [ compile-fail posix_time/compile_fail/hours_special_value.cpp ]
79 [ compile-fail posix_time/compile_fail/minutes_special_value.cpp ]
80 [ compile-fail posix_time/compile_fail/seconds_special_value.cpp ]
81 [ compile-fail posix_time/compile_fail/millisec_special_value.cpp ]
82 [ run posix_time/testiterator.cpp
83 ../build//boost_date_time/<link>static
84 : : : $(DATE_TIME_PROPERTIES) ]
85 [ run posix_time/testparse_time.cpp
86 ../build//boost_date_time/<link>static
87 : : : $(DATE_TIME_PROPERTIES) ]
88 [ run posix_time/testtime_period.cpp
89 ../build//boost_date_time/<link>static
90 : : : $(DATE_TIME_PROPERTIES) ]
91 [ run posix_time/testtime.cpp
92 ../build//boost_date_time/<link>static
93 : : : $(DATE_TIME_PROPERTIES) ]
94 [ run posix_time/testmicrosec_time_clock.cpp
95 ../build//boost_date_time/<link>static
96 : : : $(DATE_TIME_PROPERTIES) ]
97 [ run posix_time/testtime_formatters.cpp
98 ../build//boost_date_time/<link>static
99 : : : $(DATE_TIME_PROPERTIES) ]
100 [ run posix_time/testgreg_duration_operators.cpp
101 ../build//boost_date_time/<link>static
102 : : : $(DATE_TIME_PROPERTIES) ]
103 ### streaming
104 [ run posix_time/testtime_facet.cpp
105 ../build//boost_date_time/<link>static
106 : : : $(DATE_TIME_PROPERTIES) ]
107 [ run posix_time/testtime_input_facet.cpp
108 ../build//boost_date_time/<link>static
109 : : : $(DATE_TIME_PROPERTIES) ]
110 ###
111
112 ;
113
114
115 test-suite date_time_wide_streaming
116 :
117 [ run gregorian/testgreg_wstream.cpp
118 ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO : testgreg_wstream ]
119 [ run posix_time/testtime_wstream.cpp
120 ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO : testtime_wstream ]
121 ;
122
123 test-suite date_time_pre_133_facet
124 :
125 [ run gregorian/testfacet.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO : testfacet_dll ]
126 # this next test is commented out because it crashes on VC6 (cause unknown):
127 # [ run gregorian/testparse_date.cpp ../build//boost_date_time : : : $(DATE_TIME_DYNAMIC_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO : testparse_date_dll ]
128 [ run gregorian/testfacet.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO ]
129 [ run gregorian/testparse_date.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO ]
130
131 [ run posix_time/teststreams.cpp ../build//boost_date_time/<link>static : : : $(DATE_TIME_PROPERTIES) <define>USE_DATE_TIME_PRE_1_33_FACET_IO ]
132 ;
133
134 local DATE_TIME_PROPERTIES = <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
135 # FIXME
136 #std::locale-support
137 <define>BOOST_ALL_NO_LIB ;
138
139 test-suite date_time_localtime
140 :
141 [ run local_time/testdst_transition_day_rule.cpp
142 ../build//boost_date_time/<link>static
143 : : : $(DATE_TIME_PROPERTIES) ]
144 [ run local_time/testcustom_time_zone.cpp
145 ../build//boost_date_time/<link>static
146 : : : $(DATE_TIME_PROPERTIES) ]
147 [ run local_time/testposix_time_zone.cpp
148 ../build//boost_date_time/<link>static
149 : : : $(DATE_TIME_PROPERTIES) ]
150 [ run local_time/testwcustom_time_zone.cpp
151 ../build//boost_date_time/<link>static
152 : : : $(DATE_TIME_PROPERTIES) ]
153 [ run local_time/testwposix_time_zone.cpp
154 ../build//boost_date_time/<link>static
155 : : : $(DATE_TIME_PROPERTIES) ]
156 [ run local_time/testtz_database.cpp
157 ../build//boost_date_time/<link>static
158 : : ../data/date_time_zonespec.csv local_time/poorly_formed_zonespec.csv : $(DATE_TIME_PROPERTIES) ]
159 [ run local_time/testlocal_time.cpp
160 ../build//boost_date_time/<link>static
161 : : : $(DATE_TIME_PROPERTIES) ]
162 [ run local_time/testlocal_time_iterator.cpp
163 ../build//boost_date_time/<link>static
164 : : : $(DATE_TIME_PROPERTIES) ]
165 [ run local_time/testlocal_time_period.cpp
166 ../build//boost_date_time/<link>static
167 : : : $(DATE_TIME_PROPERTIES) ]
168 ### streaming
169 [ run local_time/testlocal_time_facet.cpp
170 ../build//boost_date_time/<link>static
171 : : ../data/date_time_zonespec.csv : $(DATE_TIME_PROPERTIES) ]
172 [ run local_time/testlocal_time_input_facet.cpp
173 ../build//boost_date_time/<link>static
174 : : : $(DATE_TIME_PROPERTIES) ]
175 ###
176 [ run local_time/testclocks.cpp
177 ../build//boost_date_time/<link>static
178 : : : $(DATE_TIME_PROPERTIES) ]
179 ;
180
181 if ! [ os.environ UBSAN_OPTIONS ]
182 {
183 local DATE_TIME_PROPERTIES = <define>BOOST_ALL_NO_LIB <define>USE_DATE_TIME_PRE_1_33_FACET_IO
184 # FIXME
185 # std::locale-support toolset::require-boost-spirit-support
186 ;
187
188 test-suite date_time_serialization
189 :
190 # xml archive tests
191 [ run gregorian/testgreg_serialize.cpp
192 ../build//boost_date_time/<link>static
193 ../../serialization/build//boost_serialization
194 : : : $(DATE_TIME_PROPERTIES) <define>DATE_TIME_XML_SERIALIZE
195 : testgreg_serialize_xml ]
196 [ run posix_time/testtime_serialize.cpp
197 ../build//boost_date_time/<link>static
198 ../../serialization/build//boost_serialization
199 : : : $(DATE_TIME_PROPERTIES)
200 <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
201 <define>DATE_TIME_XML_SERIALIZE
202 : testtime_serialize_xml_std_config ]
203 [ run posix_time/testtime_serialize.cpp
204 ../build//boost_date_time/<link>static
205 ../../serialization/build//boost_serialization
206 : : : $(DATE_TIME_PROPERTIES) <define>DATE_TIME_XML_SERIALIZE
207 : testtime_serialize_xml ]
208 [ run posix_time/testtime_serialize_versioning.cpp
209 ../build//boost_date_time/<link>static
210 ../../serialization/build//boost_serialization
211 : : : $(DATE_TIME_PROPERTIES) <define>BOOST_DATE_TIME_POSIX_TIME_DURATION_VERSION=0
212 : testtime_serialize_versioning_prev ]
213 [ run posix_time/testtime_serialize_versioning.cpp
214 ../build//boost_date_time/<link>static
215 ../../serialization/build//boost_serialization
216 : : testtime_serialize_versioning_prev
217 : $(DATE_TIME_PROPERTIES)
218 : testtime_serialize_versioning_curr ]
219
220 # text archive tests
221 [ run gregorian/testgreg_serialize.cpp
222 ../build//boost_date_time/<link>static
223 ../../serialization/build//boost_serialization
224 : : : $(DATE_TIME_PROPERTIES)
225 : testgreg_serialize ]
226 [ run gregorian/testgreg_serialize.cpp
227 ../build//boost_date_time
228 ../../serialization/build//boost_serialization
229 : : : $(DATE_TIME_DYNAMIC_PROPERTIES)
230 : testgreg_serialize_dll ]
231 [ run posix_time/testtime_serialize.cpp
232 ../build//boost_date_time/<link>static
233 ../../serialization/build//boost_serialization
234 : : : $(DATE_TIME_PROPERTIES)
235 <define>BOOST_DATE_TIME_POSIX_TIME_STD_CONFIG
236 : testtime_serialize_std_config ]
237 [ run posix_time/testtime_serialize.cpp
238 ../build//boost_date_time/<link>static
239 ../../serialization/build//boost_serialization
240 : : : $(DATE_TIME_PROPERTIES)
241 : testtime_serialize ]
242 ;
243 }
244
245 # Copyright (c) 2000-2005
246 # CrystalClear Software, Inc.
247 # Subject to the Boost Software License, Version 1.0.
248 # (See accompanying file LICENSE_1_0.txt or
249 # http://www.boost.org/LICENSE_1_0.txt)
250
251
252
253