Jamfile.v2 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. # Boost.Core Library test Jamfile
  2. #
  3. # Copyright (c) 2014, 2017 Peter Dimov
  4. #
  5. # Distributed under the Boost Software License, Version 1.0.
  6. # See accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt
  8. import modules ;
  9. import testing ;
  10. # quick test (for CI)
  11. run quick.cpp ;
  12. # full test suite
  13. run addressof_test.cpp ;
  14. run addressof_test2.cpp ;
  15. run addressof_np_test.cpp ;
  16. run addressof_fn_test.cpp ;
  17. compile addressof_constexpr_test.cpp ;
  18. compile-fail addressof_fail_rvalue.cpp ;
  19. run checked_delete_test.cpp ;
  20. compile-fail checked_delete_fail.cpp ;
  21. compile-fail checked_delete_fail2.cpp ;
  22. compile ref_ct_test.cpp ;
  23. run ref_test.cpp ;
  24. run ref_ref_test.cpp ;
  25. run ref_fn_test.cpp ;
  26. compile-fail ref_rv_fail1.cpp ;
  27. compile-fail ref_rv_fail2.cpp ;
  28. compile-fail ref_rv_fail3.cpp ;
  29. compile-fail ref_rv_fail4.cpp ;
  30. compile-fail ref_rv_fail5.cpp ;
  31. compile-fail ref_implicit_fail.cpp ;
  32. compile-fail ref_implicit_fail2.cpp ;
  33. run ref_cv_test.cpp ;
  34. run eif_constructors.cpp ;
  35. run eif_dummy_arg_disambiguation.cpp ;
  36. run eif_lazy.cpp ;
  37. run eif_lazy_test.cpp ;
  38. run eif_member_templates.cpp ;
  39. run eif_namespace_disambiguation.cpp ;
  40. run eif_no_disambiguation.cpp ;
  41. run eif_partial_specializations.cpp ;
  42. compile-fail noncopyable_compile_fail.cpp ;
  43. run explicit_operator_bool.cpp ;
  44. run explicit_operator_bool_noexcept.cpp ;
  45. compile-fail explicit_operator_bool_compile_fail_conv_int.cpp ;
  46. compile-fail explicit_operator_bool_compile_fail_conv_pvoid.cpp ;
  47. compile-fail explicit_operator_bool_compile_fail_delete.cpp ;
  48. compile-fail explicit_operator_bool_compile_fail_shift.cpp ;
  49. compile ignore_unused_test.cpp : <toolset>gcc-4.8:<cxxflags>"-Wunused-variable -Wunused-local-typedefs -Werror"
  50. <toolset>gcc:<cxxflags>"-Wunused-variable -Werror"
  51. <toolset>clang:<cxxflags>"-Wunused-variable -Werror"
  52. <toolset>msvc:<cxxflags>"/we4100 /we4101" ;
  53. run sp_typeinfo_test.cpp ;
  54. run sp_typeinfo_test.cpp : : : <rtti>off : sp_typeinfo_test_no_rtti ;
  55. run visit_each_test.cpp ;
  56. run get_pointer_test.cpp ;
  57. run lightweight_test_test.cpp ;
  58. run lightweight_test_test.cpp : : : <exception-handling>off : lightweight_test_test_no_except ;
  59. run lightweight_test_test2.cpp ;
  60. run lightweight_test_all_with_test.cpp ;
  61. run lightweight_test_lt_le_test.cpp ;
  62. run lightweight_test_gt_ge_test.cpp ;
  63. run lightweight_test_eq_nullptr.cpp ;
  64. run lightweight_test_test3.cpp ;
  65. run lightweight_test_test4.cpp ;
  66. run lightweight_test_test5.cpp : : :
  67. <warnings>extra
  68. <toolset>msvc:<warnings-as-errors>on
  69. <toolset>gcc:<warnings-as-errors>on
  70. <toolset>clang:<warnings-as-errors>on
  71. <toolset>gcc-4.4.7:<cxxflags>-Wno-sign-compare ;
  72. run-fail lightweight_test_all_eq_test.cpp ;
  73. run-fail lightweight_test_all_with_fail.cpp ;
  74. run-fail lightweight_test_fail.cpp ;
  75. run-fail lightweight_test_fail2.cpp ;
  76. run-fail lightweight_test_fail3.cpp ;
  77. run-fail lightweight_test_fail4.cpp ;
  78. run-fail lightweight_test_fail5.cpp ;
  79. run-fail lightweight_test_fail6.cpp ;
  80. run-fail lightweight_test_fail7.cpp ;
  81. run-fail lightweight_test_fail7.cpp : : : <rtti>off : lightweight_test_fail7_no_rtti ;
  82. run-fail lightweight_test_fail8.cpp ;
  83. run-fail lightweight_test_fail8.cpp : : : <rtti>off : lightweight_test_fail8_no_rtti ;
  84. run-fail lightweight_test_fail9.cpp ;
  85. run-fail lightweight_test_fail10.cpp ;
  86. run-fail lightweight_test_fail11.cpp ;
  87. run-fail lightweight_test_fail12.cpp ;
  88. run-fail lightweight_test_lt_fail.cpp ;
  89. run-fail lightweight_test_le_fail.cpp ;
  90. run-fail lightweight_test_gt_fail.cpp ;
  91. run-fail lightweight_test_ge_fail.cpp ;
  92. run is_same_test.cpp ;
  93. run typeinfo_test.cpp ;
  94. run typeinfo_test.cpp : : : <rtti>off : typeinfo_test_no_rtti ;
  95. run iterator_test.cpp ;
  96. run detail_iterator_test.cpp ;
  97. run demangle_test.cpp : : : <test-info>always_show_run_output ;
  98. run demangled_name_test.cpp : : : <test-info>always_show_run_output ;
  99. run demangled_name_test.cpp : : : <rtti>off <test-info>always_show_run_output : demangled_name_test_no_rtti ;
  100. run scoped_enum.cpp ;
  101. compile-fail scoped_enum_compile_fail_conv_from_int.cpp ;
  102. compile-fail scoped_enum_compile_fail_conv_to_int.cpp ;
  103. run underlying_type.cpp ;
  104. run pointer_traits_pointer_test.cpp ;
  105. run pointer_traits_element_type_test.cpp ;
  106. run pointer_traits_difference_type_test.cpp ;
  107. run pointer_traits_rebind_test.cpp ;
  108. run pointer_traits_pointer_to_test.cpp ;
  109. run to_address_test.cpp ;
  110. run exchange_test.cpp ;
  111. run exchange_move_test.cpp ;
  112. run first_scalar_test.cpp ;
  113. compile first_scalar_constexpr_test.cpp ;
  114. run empty_value_test.cpp ;
  115. run empty_value_size_test.cpp ;
  116. run empty_value_final_test.cpp ;
  117. run quick_exit_test.cpp ;
  118. run-fail quick_exit_fail.cpp ;
  119. compile use_default_test.cpp ;
  120. run default_allocator_test.cpp ;
  121. run noinit_adaptor_test.cpp ;
  122. run alloc_construct_test.cpp ;
  123. run alloc_construct_throws_test.cpp ;
  124. run alloc_construct_cxx11_test.cpp ;
  125. run nvp_test.cpp ;
  126. lib lib_typeid : lib_typeid.cpp : <link>shared:<define>LIB_TYPEID_DYN_LINK=1 ;
  127. run test_lib_typeid.cpp lib_typeid : : : <link>shared : test_lib_typeid_shared ;
  128. run test_lib_typeid.cpp lib_typeid : : : <link>static : test_lib_typeid_static ;
  129. run test_lib_typeid.cpp lib_typeid : : : <link>shared <rtti>off : test_lib_typeid_shared_no_rtti ;
  130. run test_lib_typeid.cpp lib_typeid : : : <link>static <rtti>off : test_lib_typeid_static_no_rtti ;
  131. run uncaught_exceptions.cpp : : : <exception-handling>on ;
  132. run uncaught_exceptions_np.cpp : : : <exception-handling>on ;
  133. run no_exceptions_support_test.cpp ;
  134. run no_exceptions_support_test.cpp : : : <exception-handling>off : no_exceptions_support_test_nx ;
  135. use-project /boost/core/swap : ./swap ;
  136. build-project ./swap ;