mirror of
https://github.com/boostorg/multi_index.git
synced 2026-01-19 04:22:11 +00:00
* omitted test_mpl_ops for now * made IndexSpecifierList a Mp11 sequence * made nested *_type_list's and tag Mp11 sequences * leftover MPL->Mp11 change * removed Clang 5.0 -std=c++1z as not supported by Mp11 * replaced boost::mpl::na with void as default index specifier arg * removed Clang 5.0 -std=c++1z as not supported by Mp11 (Drone) * replaced elementary MPL TMP with Mp11/std * replaced elementary MPL TMP with Mp11/std (tests) * leftover MPL #include * suppressed potential narrowing conversion warnings * enabled macro to support old interface, plus restored and augmented test_mpl_ops * removed secondary dependency to MPL thru Iterator * optimized Jamfile.v2 * added conditional support for old definition of tag * updated MPL support macro in tests * updated docs * stylistic * updated "cxxstd" in libraries.json * disabled test_serialization for Clang 3.5-3.6 due to lack of support from Boost.SmartPtr * fixed previous * removed no longer necessary workaround * removed redundant dependencies * updated test description
87 lines
3.9 KiB
Plaintext
87 lines
3.9 KiB
Plaintext
# Boost.MultiIndex tests Jamfile
|
|
#
|
|
# Copyright 2003-2025 Joaquín M López Muñoz.
|
|
# 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)
|
|
#
|
|
# See http://www.boost.org/libs/multi_index for library home page.
|
|
|
|
import os ;
|
|
import testing ;
|
|
import type ;
|
|
|
|
# Windows Vista UAC has an heuristic by which executable files whose name
|
|
# contains any of the words "install", "setup", "update", etc. are assumed
|
|
# to be installation packages needing administrative rights, which causes
|
|
# the system to bring up a window asking for execution confirmation by the
|
|
# user, thus interferring in the unattended bjam process.
|
|
# Problem bypassed by changing the EXE names containing a taboo word.
|
|
# Thanks to Rene Rivera for guidance on the use of the <tag> feature.
|
|
|
|
rule change-test_update-exe-name ( name : type ? : property-set )
|
|
{
|
|
if [ os.on-windows ] && [ type.is-subtype $(type) EXE ]
|
|
{
|
|
return test_updat.exe ;
|
|
}
|
|
}
|
|
|
|
project
|
|
: requirements
|
|
<library>/boost/multi_index//boost_multi_index
|
|
<library>/boost/foreach//boost_foreach
|
|
<library>/boost/iterator//boost_iterator
|
|
<library>/boost/mpl//boost_mpl
|
|
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
|
|
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
|
|
<toolset>msvc:<define>_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
|
|
<toolset>msvc:<cxxflags>/wd4494
|
|
;
|
|
|
|
obj boost_multi_index_key_supported : check_bmi_key_supported.cpp ;
|
|
explicit boost_multi_index_key_supported ;
|
|
|
|
test-suite "multi_index" :
|
|
[ run test_alloc_awareness.cpp test_alloc_awareness_main.cpp ]
|
|
[ run test_basic.cpp test_basic_main.cpp ]
|
|
[ run test_capacity.cpp test_capacity_main.cpp ]
|
|
[ run test_comparison.cpp test_comparison_main.cpp ]
|
|
[ run test_composite_key.cpp test_composite_key_main.cpp ]
|
|
[ run test_conv_iterators.cpp test_conv_iterators_main.cpp ]
|
|
[ run test_copy_assignment.cpp test_copy_assignment_main.cpp ]
|
|
[ run test_hash_ops.cpp test_hash_ops_main.cpp ]
|
|
[ run test_iterators.cpp test_iterators_main.cpp
|
|
/boost/foreach//boost_foreach ]
|
|
[ run test_key.cpp test_key_main.cpp
|
|
: : :
|
|
[ check-target-builds boost_multi_index_key_supported
|
|
"BOOST_MULTI_INDEX_KEY_SUPPORTED defined"
|
|
: : <build>no ] ]
|
|
[ run test_key_extractors.cpp test_key_extractors_main.cpp ]
|
|
[ run test_list_ops.cpp test_list_ops_main.cpp ]
|
|
[ run test_modifiers.cpp test_modifiers_main.cpp ]
|
|
[ run test_mpl_ops.cpp test_mpl_ops_main.cpp ]
|
|
[ run test_node_handling.cpp test_node_handling_main.cpp ]
|
|
[ run test_observers.cpp test_observers_main.cpp ]
|
|
[ run test_projection.cpp test_projection_main.cpp ]
|
|
[ run test_range.cpp test_range_main.cpp ]
|
|
[ run test_rank_ops.cpp test_rank_ops_main.cpp ]
|
|
[ run test_rearrange.cpp test_rearrange_main.cpp ]
|
|
[ run test_safe_mode.cpp test_safe_mode_main.cpp ]
|
|
[ run test_serialization.cpp test_serialization1.cpp
|
|
test_serialization2.cpp test_serialization3.cpp
|
|
test_serialization_main.cpp
|
|
/boost/serialization//boost_serialization
|
|
: : :
|
|
<toolset>clang-3.5:<build>no
|
|
<toolset>clang-3.6:<build>no ]
|
|
[ run test_set_ops.cpp test_set_ops_main.cpp ]
|
|
[ run test_special_set_ops.cpp test_special_set_ops_main.cpp ]
|
|
[ run test_update.cpp test_update_main.cpp
|
|
: : :
|
|
-<tag>@%boostcpp.tag
|
|
-<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
|
|
<tag>@change-test_update-exe-name ]
|
|
;
|