]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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 | ||
6 | import testing ; | |
7 | ||
8 | project 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" | |
b32b8144 | 18 | <toolset>gcc:<c++-template-depth>500 |
7c673cae FG |
19 | ; |
20 | ||
21 | #alias framework : /boost/test//boost_unit_test_framework ; | |
22 | alias framework : ; | |
23 | ||
24 | test-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 ] | |
b32b8144 | 47 | [ run unordered/emplace_tests.cpp ] |
7c673cae | 48 | [ run unordered/unnecessary_copy_tests.cpp ] |
b32b8144 | 49 | [ run unordered/erase_tests.cpp : : : <define>BOOST_UNORDERED_SUPPRESS_DEPRECATED ] |
7c673cae | 50 | [ run unordered/erase_equiv_tests.cpp ] |
b32b8144 FG |
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 ] | |
7c673cae FG |
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 ] | |
b32b8144 | 65 | [ run unordered/detail_tests.cpp ] |
7c673cae FG |
66 | |
67 | [ run unordered/compile_set.cpp : : | |
68 | : <define>BOOST_UNORDERED_USE_MOVE | |
69 | : bmove_compile_set ] | |
70 | [ run unordered/compile_map.cpp : : | |
71 | : <define>BOOST_UNORDERED_USE_MOVE | |
72 | : bmove_compile_map ] | |
73 | [ run unordered/copy_tests.cpp : : | |
74 | : <define>BOOST_UNORDERED_USE_MOVE | |
75 | : bmove_copy ] | |
76 | [ run unordered/move_tests.cpp : : | |
77 | : <define>BOOST_UNORDERED_USE_MOVE | |
78 | : bmove_move ] | |
79 | [ run unordered/assign_tests.cpp : : | |
80 | : <define>BOOST_UNORDERED_USE_MOVE | |
81 | : bmove_assign ] | |
82 | ; | |
83 | ||
84 | test-suite unordered-exception | |
85 | : | |
86 | [ run exception/constructor_exception_tests.cpp framework ] | |
87 | [ run exception/copy_exception_tests.cpp framework ] | |
88 | [ run exception/assign_exception_tests.cpp framework ] | |
89 | [ run exception/move_assign_exception_tests.cpp framework ] | |
90 | [ run exception/insert_exception_tests.cpp framework ] | |
91 | [ run exception/erase_exception_tests.cpp framework ] | |
92 | [ run exception/rehash_exception_tests.cpp framework ] | |
93 | [ run exception/swap_exception_tests.cpp framework : : : | |
94 | <define>BOOST_UNORDERED_SWAP_METHOD=2 ] | |
b32b8144 | 95 | [ run exception/merge_exception_tests.cpp framework ] |
7c673cae | 96 | ; |