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