[29] | 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 | alias unit_test_framework : ../libs/test/build//boost_unit_test_framework/<link>static ; |
---|
| 24 | |
---|
| 25 | # Tests from Jamfiles in individual library test subdirectories |
---|
| 26 | # Please keep these in alphabetic order by test-suite name |
---|
| 27 | build-project ../libs/algorithm/minmax/test ; # test-suite algorith/minmax |
---|
| 28 | build-project ../libs/algorithm/string/test ; # test-suite algorithm/string |
---|
| 29 | build-project ../libs/assign/test ; # test-suite assign |
---|
| 30 | build-project ../libs/any/test ; # test-suite any |
---|
| 31 | build-project ../libs/bind/test ; # test-suite bind |
---|
| 32 | build-project ../libs/concept_check ; # test-suite concept_check |
---|
| 33 | build-project ../libs/conversion/test ; # test-suite conversion |
---|
| 34 | build-project ../libs/date_time/test ; # test-suite date_time |
---|
| 35 | build-project ../libs/dynamic_bitset ; # test-suite dynamic_bitset |
---|
| 36 | build-project ../libs/filesystem/test ; # test-suite filesystem |
---|
| 37 | build-project ../libs/foreach/test ; # test-suite foreach |
---|
| 38 | build-project ../libs/format/test ; # test-suite format |
---|
| 39 | build-project ../libs/function/test ; # test-suite function |
---|
| 40 | build-project ../libs/functional/hash/test ; # test-suite functional/hash |
---|
| 41 | build-project ../libs/graph/test ; # test-suite graph |
---|
| 42 | build-project ../libs/io/test ; # test-suite io |
---|
| 43 | build-project ../libs/iostreams/test ; # test-suite iostreams |
---|
| 44 | build-project ../libs/iterator/test ; # test-suite iterator |
---|
| 45 | build-project ../libs/logic/test ; # test-suite logic |
---|
| 46 | build-project ../libs/math/test ; # test-suite math |
---|
| 47 | build-project ../libs/mpl/test ; # test-suite mpl |
---|
| 48 | build-project ../libs/numeric/conversion/test ; # test-suite numeric/conversion |
---|
| 49 | build-project ../libs/numeric/interval/test ; # test-suite numeric/interval |
---|
| 50 | build-project ../libs/numeric/ublas/test ; # test-suite numeirc/uBLAS |
---|
| 51 | build-project ../libs/multi_array/test ; # test-suite multi_array |
---|
| 52 | build-project ../libs/multi_index/test ; # test-suite multi_index |
---|
| 53 | build-project ../libs/optional/test ; # test-suite optional |
---|
| 54 | build-project ../libs/parameter/test ; # test-suite parameter |
---|
| 55 | build-project ../libs/program_options/test ; # test-suite program_options |
---|
| 56 | build-project ../libs/property_map/test ; # test-suite property_map |
---|
| 57 | build-project ../libs/ptr_container/test ; # test-suite ptr_container |
---|
| 58 | build-project ../libs/python/test ; # test-suite python |
---|
| 59 | build-project ../libs/random/test ; # test-suite random |
---|
| 60 | build-project ../libs/range/test ; # test-suite range |
---|
| 61 | build-project ../libs/regex/test ; # test-suite regex |
---|
| 62 | build-project ../libs/regex/example ; # test-suite regex-examples |
---|
| 63 | build-project ../libs/serialization/test ; # test-suite serialization |
---|
| 64 | build-project ../libs/signals/test ; # test-suite signals |
---|
| 65 | build-project ../libs/smart_ptr/test ; # test-suite smart_ptr |
---|
| 66 | build-project ../libs/spirit/test ; # test-suite spirit |
---|
| 67 | build-project ../libs/statechart/test ; # test-suite statechart |
---|
| 68 | build-project ../libs/static_assert ; # test-suite static_assert |
---|
| 69 | build-project ../libs/test/test ; # test-suite test |
---|
| 70 | build-project ../libs/thread/test ; # test-suite thread |
---|
| 71 | build-project ../libs/tr1/test ; # test-suite tr1 |
---|
| 72 | build-project ../libs/type_traits/test ; # test-suite type_traits |
---|
| 73 | build-project ../libs/typeof/test ; # test-suite typeof |
---|
| 74 | build-project ../libs/utility/enable_if/test ; # test-suite utility/enable_if |
---|
| 75 | build-project ../libs/utility/test ; # test-suite utility |
---|
| 76 | build-project ../libs/variant/test ; # test-suite variant |
---|
| 77 | build-project ../libs/wave/test/build ; # test-suite wave |
---|
| 78 | build-project ../libs/xpressive/test ; # test-suite xpressive |
---|
| 79 | |
---|
| 80 | # Tests specified in this Jamfile |
---|
| 81 | |
---|
| 82 | test-suite config |
---|
| 83 | : |
---|
| 84 | # FIXME: Ideally, this should be just an alias to 'main' test suite |
---|
| 85 | # defined in libs/config/test/Jamfile.v2 |
---|
| 86 | # That way, we'll avoid code duplication and won't run additional |
---|
| 87 | # tests in 'auxilliary' test suites, that need to be run and |
---|
| 88 | # interpreted by humans. |
---|
| 89 | # But such change will require tweaking libs/config/tools/generate.cpp |
---|
| 90 | # so postponing to later. |
---|
| 91 | [ run libs/config/test/config_test.cpp test_exec_monitor |
---|
| 92 | : #args |
---|
| 93 | : #input-files |
---|
| 94 | : #requirements |
---|
| 95 | <threading>multi #!!!<no-warn>config_test.cpp |
---|
| 96 | ] |
---|
| 97 | [ run libs/config/test/config_info.cpp : : : <test-info>always_show_run_output ] |
---|
| 98 | [ run libs/config/test/math_info.cpp : : : <test-info>always_show_run_output <toolset>borland:<runtime-link>static ] |
---|
| 99 | [ run libs/config/test/abi/abi_test.cpp libs/config/test/abi/main.cpp ] |
---|
| 100 | [ run libs/config/test/limits_test.cpp test_exec_monitor ] |
---|
| 101 | [ run libs/config/test/link/main.cpp ../libs/config/test/link//link_test |
---|
| 102 | : #args |
---|
| 103 | : #input-files |
---|
| 104 | : #requirements |
---|
| 105 | <runtime-link>shared |
---|
| 106 | <define>BOOST_DYN_LINK=1 |
---|
| 107 | <define>BOOST_CONFIG_NO_LIB=1 |
---|
| 108 | : |
---|
| 109 | config_link_test |
---|
| 110 | ] |
---|
| 111 | [ compile-fail libs/config/test/threads/test_thread_fail1.cpp ] |
---|
| 112 | [ compile-fail libs/config/test/threads/test_thread_fail2.cpp ] |
---|
| 113 | ; |
---|
| 114 | |
---|
| 115 | test-suite array_suite # !!! |
---|
| 116 | : [ run libs/array/array0.cpp ] |
---|
| 117 | [ run libs/array/array1.cpp ] |
---|
| 118 | [ run libs/array/array2.cpp ] |
---|
| 119 | [ run libs/array/array3.cpp ] |
---|
| 120 | [ run libs/array/array4.cpp ] |
---|
| 121 | [ run libs/array/array5.cpp ] |
---|
| 122 | ; |
---|
| 123 | |
---|
| 124 | run libs/crc/crc_test.cpp test_exec_monitor ; |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | test-suite disjoint_sets |
---|
| 128 | : [ run libs/disjoint_sets/disjoint_set_test.cpp test_exec_monitor ] |
---|
| 129 | ; |
---|
| 130 | |
---|
| 131 | run libs/functional/function_test.cpp ; |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | test-suite integer |
---|
| 135 | : [ run libs/integer/cstdint_test.cpp ] |
---|
| 136 | [ run libs/integer/integer_test.cpp ] |
---|
| 137 | [ run libs/integer/integer_traits_test.cpp test_exec_monitor ] |
---|
| 138 | ; |
---|
| 139 | |
---|
| 140 | test-suite lambda |
---|
| 141 | : [ run libs/lambda/test/algorithm_test.cpp test_exec_monitor ] |
---|
| 142 | [ run libs/lambda/test/bind_tests_simple.cpp test_exec_monitor ] |
---|
| 143 | [ run libs/lambda/test/bind_tests_advanced.cpp test_exec_monitor ] |
---|
| 144 | [ run libs/lambda/test/bind_tests_simple_f_refs.cpp test_exec_monitor ] |
---|
| 145 | [ run libs/lambda/test/bll_and_function.cpp test_exec_monitor ] |
---|
| 146 | [ run libs/lambda/test/cast_test.cpp test_exec_monitor : : : : lambda_cast_test ] |
---|
| 147 | [ run libs/lambda/test/constructor_tests.cpp test_exec_monitor ] |
---|
| 148 | [ run libs/lambda/test/control_structures.cpp test_exec_monitor ] |
---|
| 149 | [ run libs/lambda/test/exception_test.cpp test_exec_monitor ] |
---|
| 150 | [ run libs/lambda/test/extending_rt_traits.cpp test_exec_monitor ] |
---|
| 151 | [ run libs/lambda/test/is_instance_of_test.cpp test_exec_monitor ] |
---|
| 152 | [ run libs/lambda/test/member_pointer_test.cpp test_exec_monitor ] |
---|
| 153 | [ run libs/lambda/test/operator_tests_simple.cpp test_exec_monitor ] |
---|
| 154 | [ run libs/lambda/test/phoenix_control_structures.cpp test_exec_monitor ] |
---|
| 155 | [ run libs/lambda/test/switch_construct.cpp test_exec_monitor ] |
---|
| 156 | ; |
---|
| 157 | |
---|
| 158 | |
---|
| 159 | run libs/pool/test/test_pool_alloc.cpp test_exec_monitor ; |
---|
| 160 | |
---|
| 161 | test-suite preprocessor |
---|
| 162 | : [ compile libs/preprocessor/test/arithmetic.cpp ] |
---|
| 163 | [ compile libs/preprocessor/test/array.cpp ] |
---|
| 164 | [ compile libs/preprocessor/test/comparison.cpp ] |
---|
| 165 | [ compile libs/preprocessor/test/control.cpp ] |
---|
| 166 | [ compile libs/preprocessor/test/debug.cpp ] |
---|
| 167 | [ compile libs/preprocessor/test/facilities.cpp ] |
---|
| 168 | [ compile libs/preprocessor/test/iteration.cpp ] |
---|
| 169 | [ compile libs/preprocessor/test/list.cpp ] |
---|
| 170 | [ compile libs/preprocessor/test/logical.cpp ] |
---|
| 171 | [ compile libs/preprocessor/test/repetition.cpp ] |
---|
| 172 | [ compile libs/preprocessor/test/selection.cpp ] |
---|
| 173 | [ compile libs/preprocessor/test/seq.cpp ] |
---|
| 174 | [ compile libs/preprocessor/test/slot.cpp ] |
---|
| 175 | [ compile libs/preprocessor/test/tuple.cpp ] |
---|
| 176 | ; |
---|
| 177 | |
---|
| 178 | test-suite rational |
---|
| 179 | : [ run libs/rational/rational_example.cpp ] |
---|
| 180 | [ run libs/rational/rational_test.cpp unit_test_framework ] |
---|
| 181 | ; |
---|
| 182 | |
---|
| 183 | |
---|
| 184 | |
---|
| 185 | compile libs/timer/timer_test.cpp ; |
---|
| 186 | |
---|
| 187 | test-suite tokenizer |
---|
| 188 | : [ run libs/tokenizer/examples.cpp test_exec_monitor ] |
---|
| 189 | [ run libs/tokenizer/simple_example_1.cpp ] |
---|
| 190 | [ run libs/tokenizer/simple_example_2.cpp ] |
---|
| 191 | [ run libs/tokenizer/simple_example_3.cpp ] |
---|
| 192 | [ run libs/tokenizer/simple_example_4.cpp ] |
---|
| 193 | [ run libs/tokenizer/simple_example_5.cpp ] |
---|
| 194 | ; |
---|
| 195 | |
---|
| 196 | test-suite tuple_suite # !!! |
---|
| 197 | : [ run libs/tuple/test/tuple_test_bench.cpp test_exec_monitor ] |
---|
| 198 | [ run libs/tuple/test/io_test.cpp test_exec_monitor ] |
---|
| 199 | ; |
---|
| 200 | |
---|
| 201 | |
---|
| 202 | |
---|
| 203 | |
---|