Jamfile.v2 9.6 KB

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