2 # Copyright 2005-2012 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)
11 <toolset>intel:<warnings>on
12 #<toolset>intel:<cxxflags>-strict-ansi
13 <toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
14 <toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow"
15 #<toolset>msvc:<warnings-as-errors>on
16 #<toolset>gcc:<warnings-as-errors>on
17 #<toolset>darwin:<warnings-as-errors>on
20 test-suite functional/hash
22 [ run hash_fwd_test_1.cpp ]
23 [ run hash_fwd_test_2.cpp ]
24 [ run hash_number_test.cpp ]
25 [ run hash_enum_test.cpp ]
26 [ run hash_pointer_test.cpp ]
27 [ run hash_function_pointer_test.cpp ]
28 [ run hash_float_test.cpp ]
29 [ run hash_long_double_test.cpp ]
30 [ run hash_string_test.cpp ]
31 [ run hash_range_test.cpp ]
32 [ run hash_custom_test.cpp ]
33 [ run hash_global_namespace_test.cpp ]
34 [ run hash_friend_test.cpp ]
35 [ run hash_built_in_array_test.cpp ]
36 [ run hash_value_array_test.cpp ]
37 [ run hash_vector_test.cpp ]
38 [ run hash_list_test.cpp ]
39 [ run hash_deque_test.cpp ]
40 [ run hash_set_test.cpp ]
41 [ run hash_map_test.cpp ]
42 [ run hash_complex_test.cpp ]
43 [ run hash_type_index_test.cpp ]
44 [ run hash_std_array_test.cpp ]
45 [ run hash_std_tuple_test.cpp ]
46 [ run hash_std_smart_ptr_test.cpp ]
47 [ run link_test.cpp link_test_2.cpp ]
48 [ run link_ext_test.cpp link_no_ext_test.cpp ]
49 [ run extensions_hpp_test.cpp ]
50 [ compile-fail hash_no_ext_fail_test.cpp ]
51 [ compile-fail namespace_fail_test.cpp ]
52 [ run implicit_test.cpp ]
53 [ run hash_no_ext_macro_1.cpp ]
54 [ run hash_no_ext_macro_2.cpp ]
57 test-suite functional/hash_no_ext
59 [ run hash_number_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_number_test ]
60 [ run hash_pointer_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_pointer_test ]
61 [ run hash_function_pointer_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_function_pointer_test ]
62 [ run hash_float_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_float_test ]
63 [ run hash_long_double_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_long_double_test ]
64 [ run hash_string_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_string_test ]
65 [ run link_test.cpp link_test_2.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_link_test ]
68 # Tests to see if the floating point hash is using the binary hash.
69 # Not run normally because on some platforms these should fail.
70 test-suite functional/hash_no_generic_float
72 [ run hash_float_test.cpp
73 : : : <define>BOOST_HASH_DETAIL_TEST_WITHOUT_GENERIC
74 : hash_float_test_no_generic ]
75 [ run hash_long_double_test.cpp
76 : : : <define>BOOST_HASH_DETAIL_TEST_WITHOUT_GENERIC
77 : hash_long_double_test_no_generic ]
79 explicit functional/hash_no_generic_float ;
81 build-project ../examples ;