Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/date_time/test/Jamfile.v2 @ 33

Last change on this file since 33 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

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