Jamfile.v2 9.2 KB

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