Jamfile.v2 9.5 KB

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