2005-04-01 16:58:09 +00:00
|
|
|
|
2008-03-27 23:38:01 +00:00
|
|
|
# Copyright 2005-2008 Daniel James.
|
2007-08-24 01:05:36 +00:00
|
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
2005-04-01 16:58:09 +00:00
|
|
|
|
|
|
|
import testing ;
|
|
|
|
|
2006-02-07 00:45:32 +00:00
|
|
|
project hash-tests
|
|
|
|
: requirements
|
2010-07-14 08:17:48 +00:00
|
|
|
<define>BOOST_HASH_NO_IMPLICIT_CASTS
|
2009-11-10 08:15:55 +00:00
|
|
|
<warnings>all
|
|
|
|
<toolset>intel:<warnings>on
|
|
|
|
<toolset>intel:<cxxflags>-strict-ansi
|
2010-12-11 14:43:00 +00:00
|
|
|
<toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion"
|
|
|
|
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion"
|
2009-11-16 23:56:56 +00:00
|
|
|
<toolset>msvc:<warnings-as-errors>on
|
2010-04-06 20:14:12 +00:00
|
|
|
#<toolset>gcc:<warnings-as-errors>on
|
|
|
|
#<toolset>darwin:<warnings-as-errors>on
|
2006-02-07 00:45:32 +00:00
|
|
|
;
|
|
|
|
|
2005-04-02 00:03:17 +00:00
|
|
|
test-suite functional/hash
|
2005-04-01 16:58:09 +00:00
|
|
|
:
|
2006-02-09 19:16:08 +00:00
|
|
|
[ run hash_fwd_test_1.cpp ]
|
|
|
|
[ run hash_fwd_test_2.cpp ]
|
|
|
|
[ run hash_number_test.cpp ]
|
|
|
|
[ run hash_pointer_test.cpp ]
|
|
|
|
[ run hash_function_pointer_test.cpp ]
|
2010-11-14 11:42:58 +00:00
|
|
|
[ run hash_float_test.cpp ]
|
|
|
|
[ run hash_long_double_test.cpp ]
|
2006-02-09 19:16:08 +00:00
|
|
|
[ 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 ]
|
2009-11-11 14:03:44 +00:00
|
|
|
[ run hash_complex_test.cpp ]
|
2005-06-20 21:45:54 +00:00
|
|
|
[ run link_test.cpp link_test_2.cpp ]
|
2006-02-13 18:26:00 +00:00
|
|
|
[ run link_ext_test.cpp link_no_ext_test.cpp ]
|
2009-06-21 09:42:05 +00:00
|
|
|
[ run extensions_hpp_test.cpp ]
|
2005-09-19 20:39:57 +00:00
|
|
|
[ run container_fwd_test.cpp ]
|
2009-12-29 18:06:41 +00:00
|
|
|
[ run container_fwd_test.cpp : :
|
|
|
|
: <toolset>gcc:<define>_GLIBCXX_DEBUG
|
|
|
|
<toolset>darwin:<define>_GLIBCXX_DEBUG
|
|
|
|
: container_fwd_gcc_debug ]
|
2010-01-27 19:32:39 +00:00
|
|
|
[ run container_no_fwd_test.cpp ]
|
2009-11-11 14:03:44 +00:00
|
|
|
[ compile-fail hash_no_ext_fail_test.cpp ]
|
|
|
|
[ compile-fail namespace_fail_test.cpp ]
|
2010-07-06 23:32:37 +00:00
|
|
|
[ compile-fail implicit_fail_test.cpp ]
|
|
|
|
[ compile-fail shared_ptr_fail_test.cpp ]
|
2006-02-13 18:26:00 +00:00
|
|
|
[ run hash_no_ext_macro_1.cpp ]
|
|
|
|
[ run hash_no_ext_macro_2.cpp ]
|
2005-04-01 16:58:09 +00:00
|
|
|
;
|
2005-08-21 11:40:06 +00:00
|
|
|
|
2009-06-21 09:42:40 +00:00
|
|
|
test-suite functional/hash_no_ext
|
|
|
|
:
|
|
|
|
[ run hash_number_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_number_test ]
|
|
|
|
[ run hash_pointer_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_pointer_test ]
|
|
|
|
[ run hash_function_pointer_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_function_pointer_test ]
|
|
|
|
[ run hash_float_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_float_test ]
|
|
|
|
[ run hash_long_double_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_long_double_test ]
|
|
|
|
[ run hash_string_test.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_string_test ]
|
|
|
|
[ run link_test.cpp link_test_2.cpp : : : <define>BOOST_HASH_NO_EXTENSIONS : no_ext_link_test ]
|
|
|
|
;
|
|
|
|
|
2009-06-21 09:51:59 +00:00
|
|
|
build-project ../examples ;
|