diff --git a/build.jam b/build.jam new file mode 100644 index 0000000..88bf37f --- /dev/null +++ b/build.jam @@ -0,0 +1,35 @@ +# Copyright René Ferdinand Rivera Morell 2023-2024 +# 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) + +require-b2 5.2 ; + +constant boost_dependencies : + /boost/assert//boost_assert + /boost/concept_check//boost_concept_check + /boost/config//boost_config + /boost/core//boost_core + /boost/detail//boost_detail + /boost/function_types//boost_function_types + /boost/fusion//boost_fusion + /boost/mpl//boost_mpl + /boost/optional//boost_optional + /boost/smart_ptr//boost_smart_ptr + /boost/static_assert//boost_static_assert + /boost/type_traits//boost_type_traits + /boost/utility//boost_utility ; + +project /boost/iterator + : common-requirements + include + ; + +explicit + [ alias boost_iterator : : : : $(boost_dependencies) ] + [ alias all : boost_iterator test ] + ; + +call-if : boost-library iterator + ; + diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 0cd9b7f..3f1356e 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -2,6 +2,10 @@ # 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 : requirements /boost/iterator//boost_iterator ; + test-suite iterator : # These first two tests will run last, and are expected to fail @@ -22,9 +26,9 @@ test-suite iterator [ run zip_iterator_test2_fusion_vector.cpp ] [ run zip_iterator_test2_fusion_list.cpp ] # [ run zip_iterator_test2_fusion_deque.cpp ] // See bug report for fusion https://svn.boost.org/trac/boost/ticket/11572 - [ run zip_iterator_test_fusion.cpp ] - [ run zip_iterator_test_std_tuple.cpp ] - [ run zip_iterator_test_std_pair.cpp ] + [ run zip_iterator_test_fusion.cpp : : : /boost/assign//boost_assign ] + [ run zip_iterator_test_std_tuple.cpp : : : /boost/assign//boost_assign ] + [ run zip_iterator_test_std_pair.cpp : : : /boost/assign//boost_assign ] [ run is_iterator.cpp ] @@ -61,10 +65,10 @@ test-suite iterator [ compile-fail minimum_category_compile_fail.cpp ] [ run next_prior_test.cpp ] - [ run advance_test.cpp ] - [ run distance_test.cpp ] - [ compile adl_test.cpp ] - [ compile range_distance_compat_test.cpp ] + [ run advance_test.cpp : : : /boost/container//boost_container ] + [ run distance_test.cpp : : : /boost/container//boost_container ] + [ compile adl_test.cpp : /boost/array//boost_array ] + [ compile range_distance_compat_test.cpp : /boost/range//boost_range ] [ run shared_iterator_test.cpp ] ;