Jamfile.v2 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. # Copyright 2006-2008 Daniel James.
  2. # Distributed under the Boost Software License, Version 1.0. (See accompanying
  3. # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. import testing ;
  5. project unordered-test/unordered
  6. : requirements
  7. <warnings>all
  8. <toolset>intel:<warnings>on
  9. # Would be nice to define -Wundef, but I'm getting warnings from
  10. # Boost.Preprocessor on trunk.
  11. <toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
  12. <toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
  13. <toolset>clang:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wsign-conversion -Wconversion -Wfloat-equal -Wshadow"
  14. <toolset>msvc:<cxxflags>"/wd4494"
  15. <toolset>gcc:<c++-template-depth>500
  16. ;
  17. #alias framework : /boost/test//boost_unit_test_framework ;
  18. alias framework : ;
  19. test-suite unordered
  20. :
  21. [ run unordered/fwd_set_test.cpp ]
  22. [ run unordered/fwd_map_test.cpp ]
  23. [ run unordered/allocator_traits.cpp ]
  24. [ run unordered/minimal_allocator.cpp ]
  25. [ run unordered/compile_set.cpp ]
  26. [ run unordered/compile_map.cpp ]
  27. [ run unordered/compile_map.cpp : :
  28. : <define>BOOST_UNORDERED_USE_ALLOCATOR_TRAITS=0
  29. : compile_map_unordered_allocator ]
  30. [ run unordered/noexcept_tests.cpp ]
  31. [ run unordered/link_test_1.cpp unordered/link_test_2.cpp ]
  32. [ run unordered/incomplete_test.cpp ]
  33. [ run unordered/simple_tests.cpp ]
  34. [ run unordered/equivalent_keys_tests.cpp ]
  35. [ run unordered/constructor_tests.cpp ]
  36. [ run unordered/copy_tests.cpp ]
  37. [ run unordered/move_tests.cpp ]
  38. [ run unordered/assign_tests.cpp ]
  39. [ run unordered/insert_tests.cpp ]
  40. [ run unordered/insert_stable_tests.cpp ]
  41. [ run unordered/insert_hint_tests.cpp ]
  42. [ run unordered/emplace_tests.cpp ]
  43. [ run unordered/unnecessary_copy_tests.cpp ]
  44. [ run unordered/erase_tests.cpp : : : <define>BOOST_UNORDERED_SUPPRESS_DEPRECATED ]
  45. [ run unordered/erase_equiv_tests.cpp ]
  46. [ run unordered/extract_tests.cpp ]
  47. [ run unordered/node_handle_tests.cpp ]
  48. [ run unordered/merge_tests.cpp ]
  49. [ compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MAP : insert_node_type_fail_map ]
  50. [ compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MULTIMAP : insert_node_type_fail_multimap ]
  51. [ compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_SET : insert_node_type_fail_set ]
  52. [ compile-fail unordered/insert_node_type_fail.cpp : <define>UNORDERED_TEST_MULTISET : insert_node_type_fail_multiset ]
  53. [ run unordered/find_tests.cpp ]
  54. [ run unordered/at_tests.cpp ]
  55. [ run unordered/bucket_tests.cpp ]
  56. [ run unordered/load_factor_tests.cpp ]
  57. [ run unordered/rehash_tests.cpp ]
  58. [ run unordered/equality_tests.cpp ]
  59. [ run unordered/swap_tests.cpp ]
  60. [ run unordered/detail_tests.cpp ]
  61. [ run unordered/deduction_tests.cpp ]
  62. [ run unordered/compile_set.cpp : :
  63. : <define>BOOST_UNORDERED_USE_MOVE
  64. : bmove_compile_set ]
  65. [ run unordered/compile_map.cpp : :
  66. : <define>BOOST_UNORDERED_USE_MOVE
  67. : bmove_compile_map ]
  68. [ run unordered/copy_tests.cpp : :
  69. : <define>BOOST_UNORDERED_USE_MOVE
  70. : bmove_copy ]
  71. [ run unordered/move_tests.cpp : :
  72. : <define>BOOST_UNORDERED_USE_MOVE
  73. : bmove_move ]
  74. [ run unordered/assign_tests.cpp : :
  75. : <define>BOOST_UNORDERED_USE_MOVE
  76. : bmove_assign ]
  77. ;
  78. test-suite unordered-exception
  79. :
  80. [ run exception/constructor_exception_tests.cpp framework ]
  81. [ run exception/copy_exception_tests.cpp framework ]
  82. [ run exception/assign_exception_tests.cpp framework ]
  83. [ run exception/move_assign_exception_tests.cpp framework ]
  84. [ run exception/insert_exception_tests.cpp framework ]
  85. [ run exception/erase_exception_tests.cpp framework ]
  86. [ run exception/rehash_exception_tests.cpp framework ]
  87. [ run exception/swap_exception_tests.cpp framework : : :
  88. <define>BOOST_UNORDERED_SWAP_METHOD=2 ]
  89. [ run exception/merge_exception_tests.cpp framework ]
  90. ;