|
|
@@ -0,0 +1,277 @@
|
|
|
+# Boost regression-testing Jamfile
|
|
|
+# (C) Copyright David Abrahams 2002. Permission to copy, use, modify, sell and
|
|
|
+# distribute this software is granted provided this copyright notice appears in
|
|
|
+# all copies. This software is provided "as is" without express or implied
|
|
|
+# warranty, and with no claim as to its suitability for any purpose.
|
|
|
+
|
|
|
+# Status:
|
|
|
+# Most tests declared in V1 status/Jamfile work.
|
|
|
+# io_test is commented out due to use of 'std::locale-support'.
|
|
|
+# Two test suite have different names.
|
|
|
+# <no-warn> in config test is commented out.
|
|
|
+
|
|
|
+
|
|
|
+project status
|
|
|
+ : source-location $(BOOST_ROOT)
|
|
|
+ ;
|
|
|
+
|
|
|
+import testing ;
|
|
|
+
|
|
|
+alias test_exec_monitor : ../libs/test/build//boost_test_exec_monitor/<link>static ;
|
|
|
+
|
|
|
+# Tests from Jamfiles in individual library test subdirectories
|
|
|
+# Please keep these in alphabetic order by test-suite name
|
|
|
+build-project ../libs/bind/test ; # test-suite bind
|
|
|
+build-project ../libs/conversion/test ; # test-suite conversion
|
|
|
+
|
|
|
+# Tests specified in this Jamfile
|
|
|
+{
|
|
|
+ test-suite config
|
|
|
+ : [ run libs/config/test/config_test.cpp test_exec_monitor
|
|
|
+ : #args
|
|
|
+ : #input-files
|
|
|
+ : #requirements
|
|
|
+ <threading>multi #!!!<no-warn>config_test.cpp
|
|
|
+ ]
|
|
|
+ [ run libs/config/test/config_info.cpp : : : <test-info>always_show_run_output ]
|
|
|
+ [ run libs/config/test/abi/abi_test.cpp libs/config/test/abi/main.cpp ]
|
|
|
+ [ run libs/config/test/limits_test.cpp test_exec_monitor ]
|
|
|
+ [ run libs/config/test/link/main.cpp ../libs/config/test/link//link_test
|
|
|
+ : #args
|
|
|
+ : #input-files
|
|
|
+ : #requirements
|
|
|
+ <link-runtime>shared
|
|
|
+ <define>BOOST_DYN_LINK=1
|
|
|
+ <define>BOOST_CONFIG_NO_LIB=1
|
|
|
+ :
|
|
|
+ config_link_test
|
|
|
+ ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ run libs/any/any_test.cpp ;
|
|
|
+
|
|
|
+ test-suite array_suite # !!!
|
|
|
+ : [ run libs/array/array1.cpp ]
|
|
|
+ [ run libs/array/array2.cpp ]
|
|
|
+ [ run libs/array/array3.cpp ]
|
|
|
+ [ run libs/array/array4.cpp ]
|
|
|
+ [ run libs/array/array5.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+ test-suite concept_check
|
|
|
+ : [ compile libs/concept_check/concept_check_test.cpp ]
|
|
|
+ [ compile libs/concept_check/class_concept_check_test.cpp ]
|
|
|
+ [ compile-fail libs/concept_check/concept_check_fail_expected.cpp ]
|
|
|
+ [ compile-fail libs/concept_check/class_concept_fail_expected.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+ run libs/crc/crc_test.cpp test_exec_monitor ;
|
|
|
+
|
|
|
+
|
|
|
+ test-suite disjoint_sets
|
|
|
+ : [ run libs/disjoint_sets/disjoint_set_test.cpp test_exec_monitor ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ test-suite dynamic_bitset
|
|
|
+ : [ run libs/dynamic_bitset/dyn_bitset_unit_tests1.cpp test_exec_monitor ]
|
|
|
+ [ run libs/dynamic_bitset/dyn_bitset_unit_tests2.cpp test_exec_monitor ]
|
|
|
+ [ run libs/dynamic_bitset/dyn_bitset_unit_tests3.cpp test_exec_monitor ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+ run libs/functional/function_test.cpp ;
|
|
|
+
|
|
|
+ run libs/graph/test/graph.cpp ;
|
|
|
+
|
|
|
+
|
|
|
+ test-suite integer
|
|
|
+ : [ run libs/integer/cstdint_test.cpp ]
|
|
|
+ [ run libs/integer/integer_test.cpp ]
|
|
|
+ [ run libs/integer/integer_traits_test.cpp test_exec_monitor ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ if $(0) {
|
|
|
+ run
|
|
|
+ libs/io/test/ios_state_test.cpp test_exec_monitor # sources
|
|
|
+ : # args
|
|
|
+ : # input-files
|
|
|
+ : std::locale-support
|
|
|
+ ;
|
|
|
+ }
|
|
|
+
|
|
|
+ test-suite lambda
|
|
|
+ : [ run libs/lambda/test/bind_tests_simple.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/bind_tests_advanced.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/bind_tests_simple_f_refs.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/bll_and_function.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/cast_test.cpp test_exec_monitor : : : : lambda_cast_test ]
|
|
|
+ [ run libs/lambda/test/constructor_tests.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/control_structures.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/exception_test.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/extending_rt_traits.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/is_instance_of_test.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/member_pointer_test.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/operator_tests_simple.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/phoenix_control_structures.cpp test_exec_monitor ]
|
|
|
+ [ run libs/lambda/test/switch_construct.cpp test_exec_monitor ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+ run libs/pool/test/test_pool_alloc.cpp test_exec_monitor ;
|
|
|
+
|
|
|
+ test-suite preprocessor
|
|
|
+ : [ compile libs/preprocessor/test/arithmetic.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/array.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/comparison.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/control.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/debug.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/facilities.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/iteration.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/list.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/logical.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/repetition.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/selection.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/slot.cpp ]
|
|
|
+ [ compile libs/preprocessor/test/tuple.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ test-suite property_map
|
|
|
+ : [ compile libs/property_map/property_map_cc.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ test-suite rational
|
|
|
+ : [ run libs/rational/rational_example.cpp ]
|
|
|
+ [ run libs/rational/rational_test.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ compile libs/timer/timer_test.cpp ;
|
|
|
+
|
|
|
+ test-suite tokenizer
|
|
|
+ : [ run libs/tokenizer/examples.cpp test_exec_monitor ]
|
|
|
+ [ run libs/tokenizer/simple_example_1.cpp ]
|
|
|
+ [ run libs/tokenizer/simple_example_2.cpp ]
|
|
|
+ [ run libs/tokenizer/simple_example_3.cpp ]
|
|
|
+ [ run libs/tokenizer/simple_example_4.cpp ]
|
|
|
+ [ run libs/tokenizer/simple_example_5.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ test-suite tuple_suite # !!!
|
|
|
+ : [ run libs/tuple/test/tuple_test_bench.cpp test_exec_monitor ]
|
|
|
+ [ run libs/tuple/test/io_test.cpp test_exec_monitor ]
|
|
|
+ ;
|
|
|
+
|
|
|
+ ublas-requirements =
|
|
|
+ # borland warns so often that successful compilation is prevented.
|
|
|
+ <toolset>borland:<cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
|
|
|
+ <toolset>kylix:<cxxflags>"-w-8026 -w-8027 -w-8057 -w-8084 -w-8092"
|
|
|
+ ;
|
|
|
+
|
|
|
+ test-suite ublas
|
|
|
+ : [ run libs/numeric/ublas/test1/test1.cpp
|
|
|
+ libs/numeric/ublas/test1/test11.cpp
|
|
|
+ libs/numeric/ublas/test1/test12.cpp
|
|
|
+ libs/numeric/ublas/test1/test13.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/test2/test2.cpp
|
|
|
+ libs/numeric/ublas/test2/test21.cpp
|
|
|
+ libs/numeric/ublas/test2/test22.cpp
|
|
|
+ libs/numeric/ublas/test2/test23.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/test3/test3.cpp
|
|
|
+ libs/numeric/ublas/test3/test31.cpp
|
|
|
+ libs/numeric/ublas/test3/test32.cpp
|
|
|
+ libs/numeric/ublas/test3/test33.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/test4/test4.cpp
|
|
|
+ libs/numeric/ublas/test4/test41.cpp
|
|
|
+ libs/numeric/ublas/test4/test42.cpp
|
|
|
+ libs/numeric/ublas/test4/test43.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/test5/test5.cpp
|
|
|
+ libs/numeric/ublas/test5/test51.cpp
|
|
|
+ libs/numeric/ublas/test5/test52.cpp
|
|
|
+ libs/numeric/ublas/test5/test53.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/test6/test6.cpp
|
|
|
+ libs/numeric/ublas/test6/test61.cpp
|
|
|
+ libs/numeric/ublas/test6/test62.cpp
|
|
|
+ libs/numeric/ublas/test6/test63.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ [ run libs/numeric/ublas/concepts.cpp
|
|
|
+ : # args
|
|
|
+ : # input files
|
|
|
+ : # requirements
|
|
|
+ $(ublas-requirements)
|
|
|
+ ]
|
|
|
+ ;
|
|
|
+ }
|
|
|
+
|
|
|
+ test-suite multi_array
|
|
|
+ : [ run libs/multi_array/test/constructors.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/access.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/compare.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/iterators.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/slice.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/assign.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/index_bases.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/storage_order.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/reshape.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/range1.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/idxgen1.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/stl_interaction.cpp test_exec_monitor ]
|
|
|
+ [ run libs/multi_array/test/resize.cpp test_exec_monitor ]
|
|
|
+ [ compile libs/multi_array/test/concept_checks.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cbracket.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cdata.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_citerator.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cparen.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_criterator.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_csubarray.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_csubarray2.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_csubarray3.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cview.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cview2.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_cview3.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cbracket.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cdata.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_citerator.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cparen.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_criterator.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_csubarray.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_csubarray2.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_csubarray3.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cview.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cview2.cpp ]
|
|
|
+ [ compile-fail libs/multi_array/test/fail_ref_cview3.cpp ]
|
|
|
+ ;
|
|
|
+
|
|
|
+
|
|
|
+
|