2012-08-24 22:52:42 +00:00
|
|
|
# Copyright 2005-2012 Daniel James.
|
2025-05-28 11:05:10 +02:00
|
|
|
# Copyright 2022, 2025 Peter Dimov
|
2022-06-03 19:31:33 +03:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
|
|
|
# https://www.boost.org/LICENSE_1_0.txt
|
2005-04-01 16:58:09 +00:00
|
|
|
|
|
|
|
|
import testing ;
|
|
|
|
|
|
2022-06-03 20:59:41 +03:00
|
|
|
local gcc-flags = -Wunused-parameter -Wconversion -Wsign-conversion -Wfloat-equal -Wshadow -Wno-variadic-macros ;
|
2022-06-03 21:38:02 +03:00
|
|
|
local clang-flags = $(gcc-flags) -Wno-c99-extensions ;
|
2022-06-03 20:59:41 +03:00
|
|
|
|
2006-02-07 00:45:32 +00:00
|
|
|
project hash-tests
|
|
|
|
|
: requirements
|
2024-07-31 23:25:37 -05:00
|
|
|
<library>/boost/container_hash//boost_container_hash
|
2024-05-14 07:33:03 -05:00
|
|
|
<library>/boost/core//boost_core
|
|
|
|
|
<library>/boost/type_traits//boost_type_traits
|
2024-03-11 08:31:12 -05:00
|
|
|
|
2021-10-16 22:22:29 +03:00
|
|
|
<warnings>pedantic
|
2009-11-10 08:15:55 +00:00
|
|
|
<toolset>intel:<warnings>on
|
2022-06-03 20:59:41 +03:00
|
|
|
<toolset>gcc:<cxxflags>$(gcc-flags)
|
|
|
|
|
<toolset>darwin:<cxxflags>$(gcc-flags)
|
|
|
|
|
<toolset>clang:<cxxflags>$(clang-flags)
|
2021-10-16 22:22:29 +03:00
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
|
|
|
|
<toolset>gcc:<warnings-as-errors>on
|
|
|
|
|
<toolset>clang:<warnings-as-errors>on
|
2006-02-07 00:45:32 +00:00
|
|
|
;
|
|
|
|
|
|
2021-10-17 08:22:24 +03:00
|
|
|
run hash_info.cpp : : : <test-info>always_show_run_output ;
|
|
|
|
|
compile check_float_funcs.cpp ;
|
|
|
|
|
run hash_fwd_test_1.cpp ;
|
|
|
|
|
run hash_fwd_test_2.cpp ;
|
|
|
|
|
run hash_number_test.cpp ;
|
|
|
|
|
run hash_enum_test.cpp ;
|
|
|
|
|
run hash_pointer_test.cpp ;
|
|
|
|
|
run hash_function_pointer_test.cpp ;
|
|
|
|
|
run hash_float_test.cpp ;
|
|
|
|
|
run hash_long_double_test.cpp ;
|
|
|
|
|
run hash_string_test.cpp ;
|
|
|
|
|
run hash_range_test.cpp ;
|
|
|
|
|
run hash_custom_test.cpp ;
|
|
|
|
|
run hash_global_namespace_test.cpp ;
|
|
|
|
|
run hash_friend_test.cpp ;
|
|
|
|
|
run hash_built_in_array_test.cpp ;
|
|
|
|
|
run hash_value_array_test.cpp ;
|
|
|
|
|
run hash_vector_test.cpp ;
|
|
|
|
|
run hash_list_test.cpp ;
|
|
|
|
|
run hash_deque_test.cpp ;
|
|
|
|
|
run hash_set_test.cpp ;
|
|
|
|
|
run hash_map_test.cpp ;
|
|
|
|
|
run hash_complex_test.cpp ;
|
|
|
|
|
run hash_optional_test.cpp ;
|
|
|
|
|
run hash_variant_test.cpp ;
|
|
|
|
|
run hash_type_index_test.cpp ;
|
|
|
|
|
run hash_system_error_test.cpp ;
|
|
|
|
|
run hash_std_array_test.cpp ;
|
|
|
|
|
run hash_std_tuple_test.cpp ;
|
|
|
|
|
run hash_std_smart_ptr_test.cpp ;
|
|
|
|
|
run link_test.cpp link_test_2.cpp ;
|
|
|
|
|
run link_ext_test.cpp link_no_ext_test.cpp ;
|
|
|
|
|
run extensions_hpp_test.cpp ;
|
|
|
|
|
compile-fail namespace_fail_test.cpp ;
|
|
|
|
|
run implicit_test.cpp ;
|
|
|
|
|
run hash_no_ext_macro_1.cpp ;
|
|
|
|
|
run hash_no_ext_macro_2.cpp ;
|
2012-08-24 22:52:42 +00:00
|
|
|
|
2009-06-21 09:51:59 +00:00
|
|
|
build-project ../examples ;
|
2021-10-16 20:44:32 +03:00
|
|
|
|
2021-10-17 23:54:39 +03:00
|
|
|
run hash_reference_values.cpp ;
|
2021-10-19 17:37:20 +03:00
|
|
|
|
2022-09-13 19:45:45 +03:00
|
|
|
run is_range_test.cpp ;
|
|
|
|
|
run is_contiguous_range_test.cpp ;
|
|
|
|
|
run is_unordered_range_test.cpp ;
|
2021-10-17 01:14:46 +03:00
|
|
|
|
|
|
|
|
run hash_forward_list_test.cpp ;
|
2021-10-17 08:46:35 +03:00
|
|
|
|
|
|
|
|
run quick.cpp ;
|
2021-10-17 19:28:51 +03:00
|
|
|
|
|
|
|
|
run hash_number_test2.cpp ;
|
2021-10-17 19:36:53 +03:00
|
|
|
run hash_integral_test.cpp ;
|
2024-08-20 21:50:38 +03:00
|
|
|
run hash_string_test2.cpp
|
|
|
|
|
/boost/utility//boost_utility ;
|
2022-06-03 19:31:33 +03:00
|
|
|
|
2022-06-04 14:25:47 +03:00
|
|
|
# for gcc-4.8
|
2024-08-21 16:11:17 +03:00
|
|
|
local fs-path-req = <library>/boost/filesystem//boost_filesystem/<warnings>off "-<toolset>gcc:<cxxflags>-Wshadow" "-<toolset>gcc:<cxxflags>-Wconversion" <toolset>gcc-4.7:<build>no <undefined-sanitizer>norecover:<link>static ;
|
2022-06-04 14:25:47 +03:00
|
|
|
|
2024-08-21 16:11:17 +03:00
|
|
|
run hash_fs_path_test.cpp : : : $(fs-path-req) <toolset>msvc-14.0,<cxxstd>latest:<build>no ;
|
2024-03-06 02:16:51 +02:00
|
|
|
|
2024-08-21 16:11:17 +03:00
|
|
|
run is_range_test2.cpp : : : $(fs-path-req) ;
|
2022-06-15 22:52:56 +03:00
|
|
|
|
|
|
|
|
run hash_container_test.cpp ;
|
2022-07-16 11:16:06 +03:00
|
|
|
|
|
|
|
|
run hash_vector_test2.cpp ;
|
2022-08-31 14:51:47 +03:00
|
|
|
|
|
|
|
|
run hash_string_test3.cpp ;
|
2022-08-31 15:09:29 +03:00
|
|
|
run hash_string_test4.cpp ;
|
2022-09-15 16:48:18 +03:00
|
|
|
|
|
|
|
|
run hash_multiset_test.cpp ;
|
2022-09-15 16:50:39 +03:00
|
|
|
run hash_multimap_test.cpp ;
|
2022-09-15 18:00:04 +03:00
|
|
|
|
|
|
|
|
run hash_unordered_range_test.cpp ;
|
2022-09-15 18:02:22 +03:00
|
|
|
|
|
|
|
|
run hash_unordered_multiset_test.cpp ;
|
2022-09-15 18:03:57 +03:00
|
|
|
run hash_unordered_multimap_test.cpp ;
|
2022-09-15 18:10:23 +03:00
|
|
|
|
|
|
|
|
run hash_unordered_set_test.cpp ;
|
2022-09-15 18:12:52 +03:00
|
|
|
run hash_unordered_map_test.cpp ;
|
2022-09-18 14:04:05 +03:00
|
|
|
|
|
|
|
|
run is_range_test3.cpp ;
|
2022-09-18 14:26:30 +03:00
|
|
|
run is_contiguous_range_test2.cpp ;
|
2022-09-18 14:32:28 +03:00
|
|
|
run is_unordered_range_test2.cpp ;
|
2022-10-26 19:13:27 +03:00
|
|
|
run is_contiguous_range_test3.cpp ;
|
2022-10-28 01:47:27 +03:00
|
|
|
|
|
|
|
|
run is_described_class_test.cpp
|
|
|
|
|
: : : <warnings>extra ;
|
|
|
|
|
run is_described_class_test2.cpp
|
|
|
|
|
: : : <warnings>extra ;
|
2022-10-28 18:24:42 +03:00
|
|
|
run is_described_class_test3.cpp
|
|
|
|
|
: : : <warnings>extra ;
|
2022-10-28 19:35:10 +03:00
|
|
|
|
|
|
|
|
run described_class_test.cpp
|
|
|
|
|
: : : <warnings>extra ;
|
2022-10-30 02:47:10 +03:00
|
|
|
|
2025-05-28 11:05:10 +02:00
|
|
|
run hash_is_avalanching_test.cpp ;
|
|
|
|
|
run hash_is_avalanching_test2.cpp ;
|
|
|
|
|
run hash_is_avalanching_test3.cpp ;
|
2022-11-27 19:50:49 +02:00
|
|
|
|
2022-11-28 14:20:44 +02:00
|
|
|
run hash_integral_test2.cpp ;
|
|
|
|
|
|
2022-11-27 19:50:49 +02:00
|
|
|
run hash_nullptr_test.cpp ;
|
2022-11-27 21:20:19 +02:00
|
|
|
|
|
|
|
|
run is_tuple_like_test.cpp ;
|
2022-11-28 18:04:35 +02:00
|
|
|
|
2022-11-28 16:47:14 +02:00
|
|
|
run hash_tuple_like_test.cpp ;
|
2022-11-28 18:04:35 +02:00
|
|
|
run hash_tuple_like_test2.cpp
|
|
|
|
|
: : : <warnings>extra ;
|
2024-03-05 17:44:03 +02:00
|
|
|
|
|
|
|
|
run is_range_test4.cpp ;
|
|
|
|
|
run hash_container_test2.cpp ;
|