diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index a7cd39a5..54b4cc22 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -5,5 +5,63 @@ project unordered-test ; -build-project unordered ; +import testing ; + +project unordered-test/unordered + : requirements + all + intel:on + # Would be nice to define -Wundef, but I'm getting warnings from + # Boost.Preprocessor on trunk. + gcc:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow -Wno-long-long" + darwin:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow" + ; + +test-suite unordered + : + [ run unordered/fwd_set_test.cpp ] + [ run unordered/fwd_map_test.cpp ] + [ run unordered/allocator_traits.cpp ] + [ run unordered/minimal_allocator.cpp ] + [ run unordered/compile_set.cpp ] + [ run unordered/compile_map.cpp ] + [ run unordered/noexcept_tests.cpp ] + [ run unordered/link_test_1.cpp unordered/link_test_2.cpp ] + [ run unordered/incomplete_test.cpp ] + [ run unordered/simple_tests.cpp ] + [ run unordered/equivalent_keys_tests.cpp ] + [ run unordered/constructor_tests.cpp ] + [ run unordered/copy_tests.cpp ] + [ run unordered/move_tests.cpp ] + [ run unordered/assign_tests.cpp ] + [ run unordered/insert_tests.cpp ] + [ run unordered/insert_stable_tests.cpp ] + [ run unordered/unnecessary_copy_tests.cpp ] + [ run unordered/erase_tests.cpp ] + [ run unordered/erase_equiv_tests.cpp ] + [ run unordered/find_tests.cpp ] + [ run unordered/at_tests.cpp ] + [ run unordered/bucket_tests.cpp ] + [ run unordered/load_factor_tests.cpp ] + [ run unordered/rehash_tests.cpp ] + [ run unordered/equality_tests.cpp ] + [ run unordered/swap_tests.cpp ] + + [ run unordered/compile_set.cpp : : + : BOOST_UNORDERED_USE_MOVE + : bmove_compile_set ] + [ run unordered/compile_map.cpp : : + : BOOST_UNORDERED_USE_MOVE + : bmove_compile_map ] + [ run unordered/copy_tests.cpp : : + : BOOST_UNORDERED_USE_MOVE + : bmove_copy ] + [ run unordered/move_tests.cpp : : + : BOOST_UNORDERED_USE_MOVE + : bmove_move ] + [ run unordered/assign_tests.cpp : : + : BOOST_UNORDERED_USE_MOVE + : bmove_assign ] + ; + build-project exception ; diff --git a/test/unordered/Jamfile.v2 b/test/unordered/Jamfile.v2 deleted file mode 100644 index 460ef135..00000000 --- a/test/unordered/Jamfile.v2 +++ /dev/null @@ -1,63 +0,0 @@ - -# Copyright 2006-2008 Daniel James. -# 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) - -import testing ; - -project unordered-test/unordered - : requirements - all - intel:on - # Would be nice to define -Wundef, but I'm getting warnings from - # Boost.Preprocessor on trunk. - gcc:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow -Wno-long-long" - darwin:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion -Wfloat-equal -Wshadow" - ; - -test-suite unordered - : - [ run fwd_set_test.cpp ] - [ run fwd_map_test.cpp ] - [ run allocator_traits.cpp ] - [ run minimal_allocator.cpp ] - [ run compile_set.cpp ] - [ run compile_map.cpp ] - [ run noexcept_tests.cpp ] - [ run link_test_1.cpp link_test_2.cpp ] - [ run incomplete_test.cpp ] - [ run simple_tests.cpp ] - [ run equivalent_keys_tests.cpp ] - [ run constructor_tests.cpp ] - [ run copy_tests.cpp ] - [ run move_tests.cpp ] - [ run assign_tests.cpp ] - [ run insert_tests.cpp ] - [ run insert_stable_tests.cpp ] - [ run unnecessary_copy_tests.cpp ] - [ run erase_tests.cpp ] - [ run erase_equiv_tests.cpp ] - [ run find_tests.cpp ] - [ run at_tests.cpp ] - [ run bucket_tests.cpp ] - [ run load_factor_tests.cpp ] - [ run rehash_tests.cpp ] - [ run equality_tests.cpp ] - [ run swap_tests.cpp ] - - [ run compile_set.cpp : : - : BOOST_UNORDERED_USE_MOVE - : bmove_compile_set ] - [ run compile_map.cpp : : - : BOOST_UNORDERED_USE_MOVE - : bmove_compile_map ] - [ run copy_tests.cpp : : - : BOOST_UNORDERED_USE_MOVE - : bmove_copy ] - [ run move_tests.cpp : : - : BOOST_UNORDERED_USE_MOVE - : bmove_move ] - [ run assign_tests.cpp : : - : BOOST_UNORDERED_USE_MOVE - : bmove_assign ] - ;