Jamfile.v2 9.9 KB

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