Jamfile.v2 7.8 KB

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