• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Boost.Range library
2#
3#  Copyright Neil Groves 2009
4#  Copyright Thorsten Ottosen 2003-2004. Use, modification and
5#  distribution is subject to the Boost Software License, Version
6#  1.0. (See accompanying file LICENSE_1_0.txt or copy at
7#  http://www.boost.org/LICENSE_1_0.txt)
8#
9# For more information, see http://www.boost.org/libs/range/
10#
11
12# bring in rules for testing
13import testing ;
14
15project
16    : requirements
17        <library>/boost/test//boost_unit_test_framework/
18        <library>/boost/regex//boost_regex/
19        <link>static
20        <threading>multi
21    ;
22
23rule range-test ( name : includes * )
24{
25    return [
26        run $(name).cpp /boost/test//boost_unit_test_framework /boost/regex//boost_regex/<link>static
27        :
28        :
29        : <toolset>gcc:<cxxflags>"-Wall -Wunused "
30        ] ;
31}
32
33test-suite range :
34    [ compile-fail compile_fail/iterator_range1.cpp ]
35    [ compile-fail compile_fail/adaptor/adjacent_filtered_concept.cpp ]
36    [ compile-fail compile_fail/adaptor/adjacent_filtered_concept2.cpp ]
37    [ compile-fail compile_fail/adaptor/adjacent_filtered_concept3.cpp ]
38    [ compile-fail compile_fail/adaptor/adjacent_filtered_concept4.cpp ]
39    [ compile-fail compile_fail/adaptor/copied_concept.cpp ]
40    [ compile-fail compile_fail/adaptor/copied_concept2.cpp ]
41    [ compile-fail compile_fail/adaptor/copied_concept3.cpp ]
42    [ compile-fail compile_fail/adaptor/copied_concept4.cpp ]
43    [ compile-fail compile_fail/adaptor/reversed_concept.cpp ]
44    [ compile-fail compile_fail/adaptor/reversed_concept2.cpp ]
45    [ compile-fail compile_fail/adaptor/reversed_concept3.cpp ]
46    [ compile-fail compile_fail/adaptor/reversed_concept4.cpp ]
47    [ compile-fail compile_fail/adaptor/sliced_concept.cpp ]
48    [ compile-fail compile_fail/adaptor/sliced_concept2.cpp ]
49    [ compile-fail compile_fail/adaptor/sliced_concept3.cpp ]
50    [ compile-fail compile_fail/adaptor/sliced_concept4.cpp ]
51    [ compile-fail compile_fail/adaptor/uniqued_concept.cpp ]
52    [ compile-fail compile_fail/adaptor/uniqued_concept2.cpp ]
53    [ compile-fail compile_fail/adaptor/uniqued_concept3.cpp ]
54    [ compile-fail compile_fail/adaptor/uniqued_concept4.cpp ]
55    [ range-test adaptor_test/adjacent_filtered ]
56    [ range-test adaptor_test/chained ]
57    [ range-test adaptor_test/copied ]
58    [ range-test adaptor_test/filtered ]
59    [ range-test adaptor_test/indexed ]
60    [ range-test adaptor_test/indirected ]
61    [ range-test adaptor_test/map ]
62    [ range-test adaptor_test/ref_unwrapped ]
63    [ range-test adaptor_test/ref_unwrapped_example ]
64    [ range-test adaptor_test/replaced ]
65    [ range-test adaptor_test/replaced_if ]
66    [ range-test adaptor_test/reversed ]
67    [ range-test adaptor_test/sliced ]
68    [ range-test adaptor_test/strided ]
69    [ range-test adaptor_test/strided2 ]
70    [ range-test adaptor_test/ticket_6742_transformed_c4789_warning ]
71    [ range-test adaptor_test/ticket_8676_sliced_transformed ]
72    [ range-test adaptor_test/ticket_9519_strided_reversed ]
73    [ range-test adaptor_test/tokenized ]
74    [ range-test adaptor_test/transformed ]
75    [ range-test adaptor_test/type_erased ]
76    [ range-test adaptor_test/type_erased_abstract ]
77    [ range-test adaptor_test/type_erased_brackets ]
78    [ range-test adaptor_test/type_erased_mix_values ]
79    [ range-test adaptor_test/type_erased_tparam_conv ]
80    [ range-test adaptor_test/type_erased_single_pass ]
81    [ range-test adaptor_test/type_erased_forward ]
82    [ range-test adaptor_test/type_erased_bidirectional ]
83    [ range-test adaptor_test/type_erased_random_access ]
84    [ range-test adaptor_test/type_erased_transformed ]
85    [ range-test adaptor_test/uniqued ]
86    [ range-test adaptor_test/adjacent_filtered_example ]
87    [ range-test adaptor_test/copied_example ]
88    [ range-test adaptor_test/filtered_example ]
89    [ range-test adaptor_test/formatted ]
90    [ range-test adaptor_test/formatted_example ]
91    [ range-test adaptor_test/indexed_example ]
92    [ range-test adaptor_test/indirected_example ]
93    [ range-test adaptor_test/map_keys_example ]
94    [ range-test adaptor_test/map_values_example ]
95    [ range-test adaptor_test/replaced_example ]
96    [ range-test adaptor_test/replaced_if_example ]
97    [ range-test adaptor_test/reversed_example ]
98    [ range-test adaptor_test/sliced_example ]
99    [ range-test adaptor_test/strided_example ]
100    [ range-test adaptor_test/transformed_example ]
101    [ range-test adaptor_test/tokenized_example ]
102    [ range-test adaptor_test/type_erased_example ]
103    [ range-test adaptor_test/uniqued_example ]
104    [ range-test algorithm_test/adjacent_find ]
105    [ range-test algorithm_test/binary_search ]
106    [ range-test algorithm_test/copy ]
107    [ range-test algorithm_test/copy_backward ]
108    [ range-test algorithm_test/count ]
109    [ range-test algorithm_test/count_if ]
110    [ range-test algorithm_test/equal ]
111    [ range-test algorithm_test/equal_range ]
112    [ range-test algorithm_test/fill ]
113    [ range-test algorithm_test/find ]
114    [ range-test algorithm_test/find_if ]
115    [ range-test algorithm_test/find_end ]
116    [ range-test algorithm_test/find_first_of ]
117    [ range-test algorithm_test/for_each ]
118    [ range-test algorithm_test/generate ]
119    [ range-test algorithm_test/heap ]
120    [ range-test algorithm_test/includes ]
121    [ range-test algorithm_test/inplace_merge ]
122    [ range-test algorithm_test/lexicographical_compare ]
123    [ range-test algorithm_test/lower_bound ]
124    [ range-test algorithm_test/max_element ]
125    [ range-test algorithm_test/merge ]
126    [ range-test algorithm_test/min_element ]
127    [ range-test algorithm_test/mismatch ]
128    [ range-test algorithm_test/next_permutation ]
129    [ range-test algorithm_test/nth_element ]
130    [ range-test algorithm_test/partial_sort ]
131    [ range-test algorithm_test/partition ]
132    [ range-test algorithm_test/prev_permutation ]
133    [ range-test algorithm_test/random_shuffle ]
134    [ range-test algorithm_test/remove ]
135    [ range-test algorithm_test/remove_copy ]
136    [ range-test algorithm_test/remove_copy_if ]
137    [ range-test algorithm_test/remove_if ]
138    [ range-test algorithm_test/replace ]
139    [ range-test algorithm_test/replace_copy ]
140    [ range-test algorithm_test/replace_copy_if ]
141    [ range-test algorithm_test/replace_if ]
142    [ range-test algorithm_test/reverse ]
143    [ range-test algorithm_test/reverse_copy ]
144    [ range-test algorithm_test/rotate ]
145    [ range-test algorithm_test/rotate_copy ]
146    [ range-test algorithm_test/search ]
147    [ range-test algorithm_test/search_n ]
148    [ range-test algorithm_test/set_difference ]
149    [ range-test algorithm_test/set_intersection ]
150    [ range-test algorithm_test/set_symmetric_difference ]
151    [ range-test algorithm_test/set_union ]
152    [ range-test algorithm_test/sort ]
153    [ range-test algorithm_test/stable_partition ]
154    [ range-test algorithm_test/stable_sort ]
155    [ range-test algorithm_test/swap_ranges ]
156    [ range-test algorithm_test/transform ]
157    [ range-test algorithm_test/unique ]
158    [ range-test algorithm_test/unique_copy ]
159    [ range-test algorithm_test/upper_bound ]
160    [ range-test algorithm_ext_test/copy_n ]
161    [ range-test algorithm_ext_test/erase ]
162    [ range-test algorithm_ext_test/for_each_ext ]
163    [ range-test algorithm_ext_test/insert ]
164    [ range-test algorithm_ext_test/iota ]
165    [ range-test algorithm_ext_test/is_sorted ]
166    [ range-test algorithm_ext_test/overwrite ]
167    [ range-test algorithm_ext_test/push_back ]
168    [ range-test algorithm_ext_test/push_front ]
169    [ range-test adl_conformance ]
170    [ range-test adl_conformance_no_using ]
171    [ range-test algorithm ]
172    [ range-test algorithm_example ]
173    [ range-test array ]
174#    [ range-test atl : <include>$(VC71_ROOT)/atlmfc/include ]
175    [ range-test begin ]
176    [ range-test category ]
177    [ range-test combine ]
178    [ range-test compat2 ]
179    [ range-test compat3 ]
180    [ range-test const_iterator ]
181    [ range-test const_ranges ]
182    [ range-test const_reverse_iterator ]
183    [ range-test counting_range ]
184    [ range-test difference_type ]
185    [ range-test end ]
186    [ range-test extension_mechanism ]
187    [ range-test extension_size ]
188    [ range-test has_range_iterator ]
189    [ range-test irange ]
190    [ range-test istream_range ]
191    [ range-test iterator ]
192    [ range-test iterator_ext ]
193    [ range-test iterator_pair ]
194    [ range-test iterator_range ]
195    [ range-test iterator_range_drop ]
196    [ range-test iterator_range_equality_bug ]
197    [ range-test iterator_range_hash ]
198    [ range-test iterator_range_variant ]
199#       [ range-test mfc : <include>$(VC71_ROOT)/atlmfc/include ]
200    [ range-test join ]
201    [ range-test mutable_iterator ]
202    [ range-test partial_workaround ]
203    [ range-test pointer ]
204    [ range-test pointer_as_iterator ]
205    [ range-test reference ]
206    [ range-test result_iterator ]
207    [ range-test reverse_iterator ]
208    [ range-test reverse_result_iterator ]
209    [ range-test reversible_range ]
210    [ range-test size_type ]
211    [ range-test std_container ]
212    [ range-test string ]
213    [ range-test sub_range ]
214    [ range-test ticket_5486 ]
215    [ range-test ticket_5544_terminate_irange ]
216    [ range-test ticket_5547 ]
217    [ range-test ticket_5556_is_sorted_namespace ]
218    [ range-test ticket_5811_indirected_optional ]
219    [ range-test ticket_6715_iterator_range_equality ]
220    [ range-test ticket_6944 ]
221    [ range-test ticket_10336 ]
222    [ range-test value_type ]
223    ;
224
225# `quick` target (for CI)
226alias quick : std_container ;
227