1 | # Boost regression-testing Jamfile |
---|
2 | # (C) Copyright David Abrahams 2002. Permission to copy, use, modify, sell and |
---|
3 | # distribute this software is granted provided this copyright notice appears in |
---|
4 | # all copies. This software is provided "as is" without express or implied |
---|
5 | # warranty, and with no claim as to its suitability for any purpose. |
---|
6 | |
---|
7 | # Status: |
---|
8 | # - std::locale-support usage is commented out. |
---|
9 | # Two test suite have different names. |
---|
10 | # <no-warn> in config test is commented out. |
---|
11 | # One of the smart_ptr test is run only from invocation dir in V1, and not |
---|
12 | # run in V2 at all. |
---|
13 | |
---|
14 | |
---|
15 | project status |
---|
16 | : source-location $(BOOST_ROOT) |
---|
17 | : requirements <hardcode-dll-paths>true |
---|
18 | ; |
---|
19 | |
---|
20 | import testing ; |
---|
21 | |
---|
22 | alias test_exec_monitor : ../libs/test/build//boost_test_exec_monitor/<link>static ; |
---|
23 | |
---|
24 | # Tests from Jamfiles in individual library test subdirectories |
---|
25 | # Please keep these in alphabetic order by test-suite name |
---|
26 | build-project ../libs/any/test ; # test-suite any |
---|
27 | build-project ../libs/bind/test ; # test-suite bind |
---|
28 | build-project ../libs/conversion/test ; # test-suite conversion |
---|
29 | build-project ../libs/date_time/test ; # test-suite date_time |
---|
30 | build-project ../libs/dynamic_bitset ; # test-suite dynamic_bitset |
---|
31 | build-project ../libs/filesystem/test ; # test-suite filesystem |
---|
32 | build-project ../libs/format/test ; # test-suite format |
---|
33 | build-project ../libs/function/test ; # test-suite function |
---|
34 | build-project ../libs/functional/hash/test ; # test-suite functional/hash |
---|
35 | build-project ../libs/graph/test ; # test-suite graph |
---|
36 | build-project ../libs/io/test ; # test-suite io |
---|
37 | build-project ../libs/iterator/test ; # test-suite iterator |
---|
38 | build-project ../libs/math/test ; # test-suite math |
---|
39 | build-project ../libs/numeric/interval/test ; # test-suite numeric/interval |
---|
40 | build-project ../libs/numeric/ublas/test ; # test-suite numeirc/uBLAS |
---|
41 | build-project ../libs/multi_array/test ; # test-suite multi_array |
---|
42 | build-project ../libs/multi_index/test ; # test-suite multi_index |
---|
43 | build-project ../libs/optional/test ; # test-suite optional |
---|
44 | build-project ../libs/program_options/test ; # test-suite program_options |
---|
45 | build-project ../libs/random/test ; # test-suite random |
---|
46 | build-project ../libs/regex/test ; # test-suite regex |
---|
47 | build-project ../libs/regex/example ; # test-suite regex-examples |
---|
48 | #build-project ../libs/serialization/test ; # test-suite serialization |
---|
49 | build-project ../libs/signals/test ; # test-suite signals |
---|
50 | build-project ../libs/smart_ptr/test ; # test-suite smart_ptr |
---|
51 | build-project ../libs/static_assert ; # test-suite static_assert |
---|
52 | build-project ../libs/algorithm/string/test ; # test-suite string_algo |
---|
53 | build-project ../libs/test/test ; # test-suite test |
---|
54 | build-project ../libs/thread/test ; # test-suite thread |
---|
55 | build-project ../libs/type_traits/test ; # test-suite type_traits |
---|
56 | build-project ../libs/utility/test ; # test-suite utility |
---|
57 | build-project ../libs/variant/test ; # test-suite variant |
---|
58 | |
---|
59 | # Tests specified in this Jamfile |
---|
60 | |
---|
61 | test-suite config |
---|
62 | : [ run libs/config/test/config_test.cpp test_exec_monitor |
---|
63 | : #args |
---|
64 | : #input-files |
---|
65 | : #requirements |
---|
66 | <threading>multi #!!!<no-warn>config_test.cpp |
---|
67 | ] |
---|
68 | [ run libs/config/test/config_info.cpp : : : <test-info>always_show_run_output ] |
---|
69 | [ run libs/config/test/abi/abi_test.cpp libs/config/test/abi/main.cpp ] |
---|
70 | [ run libs/config/test/limits_test.cpp test_exec_monitor ] |
---|
71 | [ run libs/config/test/link/main.cpp ../libs/config/test/link//link_test |
---|
72 | : #args |
---|
73 | : #input-files |
---|
74 | : #requirements |
---|
75 | <runtime-link>shared |
---|
76 | <define>BOOST_DYN_LINK=1 |
---|
77 | <define>BOOST_CONFIG_NO_LIB=1 |
---|
78 | : |
---|
79 | config_link_test |
---|
80 | ] |
---|
81 | [ compile-fail libs/config/test/threads/test_thread_fail1.cpp ] |
---|
82 | [ compile-fail libs/config/test/threads/test_thread_fail2.cpp ] |
---|
83 | ; |
---|
84 | |
---|
85 | test-suite array_suite # !!! |
---|
86 | : [ run libs/array/array1.cpp ] |
---|
87 | [ run libs/array/array2.cpp ] |
---|
88 | [ run libs/array/array3.cpp ] |
---|
89 | [ run libs/array/array4.cpp ] |
---|
90 | [ run libs/array/array5.cpp ] |
---|
91 | ; |
---|
92 | |
---|
93 | |
---|
94 | test-suite concept_check |
---|
95 | : [ compile libs/concept_check/concept_check_test.cpp ] |
---|
96 | [ compile libs/concept_check/class_concept_check_test.cpp ] |
---|
97 | [ compile-fail libs/concept_check/concept_check_fail_expected.cpp ] |
---|
98 | [ compile-fail libs/concept_check/class_concept_fail_expected.cpp ] |
---|
99 | ; |
---|
100 | |
---|
101 | |
---|
102 | run libs/crc/crc_test.cpp test_exec_monitor ; |
---|
103 | |
---|
104 | |
---|
105 | test-suite disjoint_sets |
---|
106 | : [ run libs/disjoint_sets/disjoint_set_test.cpp test_exec_monitor ] |
---|
107 | ; |
---|
108 | |
---|
109 | run libs/functional/function_test.cpp ; |
---|
110 | |
---|
111 | |
---|
112 | test-suite integer |
---|
113 | : [ run libs/integer/cstdint_test.cpp ] |
---|
114 | [ run libs/integer/integer_test.cpp ] |
---|
115 | [ run libs/integer/integer_traits_test.cpp test_exec_monitor ] |
---|
116 | ; |
---|
117 | |
---|
118 | test-suite lambda |
---|
119 | : [ run libs/lambda/test/algorithm_test.cpp test_exec_monitor ] |
---|
120 | [ run libs/lambda/test/bind_tests_simple.cpp test_exec_monitor ] |
---|
121 | [ run libs/lambda/test/bind_tests_advanced.cpp test_exec_monitor ] |
---|
122 | [ run libs/lambda/test/bind_tests_simple_f_refs.cpp test_exec_monitor ] |
---|
123 | [ run libs/lambda/test/bll_and_function.cpp test_exec_monitor ] |
---|
124 | [ run libs/lambda/test/cast_test.cpp test_exec_monitor : : : : lambda_cast_test ] |
---|
125 | [ run libs/lambda/test/constructor_tests.cpp test_exec_monitor ] |
---|
126 | [ run libs/lambda/test/control_structures.cpp test_exec_monitor ] |
---|
127 | [ run libs/lambda/test/exception_test.cpp test_exec_monitor ] |
---|
128 | [ run libs/lambda/test/extending_rt_traits.cpp test_exec_monitor ] |
---|
129 | [ run libs/lambda/test/is_instance_of_test.cpp test_exec_monitor ] |
---|
130 | [ run libs/lambda/test/member_pointer_test.cpp test_exec_monitor ] |
---|
131 | [ run libs/lambda/test/operator_tests_simple.cpp test_exec_monitor ] |
---|
132 | [ run libs/lambda/test/phoenix_control_structures.cpp test_exec_monitor ] |
---|
133 | [ run libs/lambda/test/switch_construct.cpp test_exec_monitor ] |
---|
134 | ; |
---|
135 | |
---|
136 | |
---|
137 | run libs/pool/test/test_pool_alloc.cpp test_exec_monitor ; |
---|
138 | |
---|
139 | test-suite preprocessor |
---|
140 | : [ compile libs/preprocessor/test/arithmetic.cpp ] |
---|
141 | [ compile libs/preprocessor/test/array.cpp ] |
---|
142 | [ compile libs/preprocessor/test/comparison.cpp ] |
---|
143 | [ compile libs/preprocessor/test/control.cpp ] |
---|
144 | [ compile libs/preprocessor/test/debug.cpp ] |
---|
145 | [ compile libs/preprocessor/test/facilities.cpp ] |
---|
146 | [ compile libs/preprocessor/test/iteration.cpp ] |
---|
147 | [ compile libs/preprocessor/test/list.cpp ] |
---|
148 | [ compile libs/preprocessor/test/logical.cpp ] |
---|
149 | [ compile libs/preprocessor/test/repetition.cpp ] |
---|
150 | [ compile libs/preprocessor/test/selection.cpp ] |
---|
151 | [ compile libs/preprocessor/test/seq.cpp ] |
---|
152 | [ compile libs/preprocessor/test/slot.cpp ] |
---|
153 | [ compile libs/preprocessor/test/tuple.cpp ] |
---|
154 | ; |
---|
155 | |
---|
156 | test-suite property_map |
---|
157 | : [ compile libs/property_map/property_map_cc.cpp ] |
---|
158 | ; |
---|
159 | |
---|
160 | test-suite rational |
---|
161 | : [ run libs/rational/rational_example.cpp ] |
---|
162 | [ run libs/rational/rational_test.cpp ] |
---|
163 | ; |
---|
164 | |
---|
165 | |
---|
166 | |
---|
167 | compile libs/timer/timer_test.cpp ; |
---|
168 | |
---|
169 | test-suite tokenizer |
---|
170 | : [ run libs/tokenizer/examples.cpp test_exec_monitor ] |
---|
171 | [ run libs/tokenizer/simple_example_1.cpp ] |
---|
172 | [ run libs/tokenizer/simple_example_2.cpp ] |
---|
173 | [ run libs/tokenizer/simple_example_3.cpp ] |
---|
174 | [ run libs/tokenizer/simple_example_4.cpp ] |
---|
175 | [ run libs/tokenizer/simple_example_5.cpp ] |
---|
176 | ; |
---|
177 | |
---|
178 | test-suite tuple_suite # !!! |
---|
179 | : [ run libs/tuple/test/tuple_test_bench.cpp test_exec_monitor ] |
---|
180 | [ run libs/tuple/test/io_test.cpp test_exec_monitor ] |
---|
181 | ; |
---|
182 | |
---|
183 | |
---|
184 | |
---|
185 | |
---|