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