From 827c69eb1aecd58aa7171a6d81b326193314fe7a Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 27 Jan 2023 14:40:34 -0800 Subject: [PATCH] Conditionally exclude node_map from non-foa test runs --- test/exception/insert_exception_tests.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/exception/insert_exception_tests.cpp b/test/exception/insert_exception_tests.cpp index 21f763a6..f76d03ff 100644 --- a/test/exception/insert_exception_tests.cpp +++ b/test/exception/insert_exception_tests.cpp @@ -402,6 +402,7 @@ struct map_insert_or_assign_type : map_inserter_base } } map_insert_or_assign; +#ifdef BOOST_UNORDERED_FOA_TESTS // clang-format off UNORDERED_TEST(insert_exception_test, ((test_map_)(test_node_map_)) @@ -414,6 +415,20 @@ UNORDERED_TEST(insert_rehash_exception_test, ((default_generator)(limited_range)(generate_collisions)) ) // clang-format on +#else +// clang-format off +UNORDERED_TEST(insert_exception_test, + ((test_map_)) + ((try_emplace)(try_emplace2)(map_insert_operator)(map_insert_or_assign)) + ((default_generator)(limited_range)(generate_collisions)) +) +UNORDERED_TEST(insert_rehash_exception_test, + ((test_map_)) + ((try_emplace)(try_emplace2)(map_insert_operator)(map_insert_or_assign)) + ((default_generator)(limited_range)(generate_collisions)) +) +// clang-format on +#endif // Range insert tests