From 08187c7a1f7d34962c65150403e2420775373c51 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Tue, 19 Sep 2023 12:27:19 -0700 Subject: [PATCH] Swap _include_tests suffix for _hpp --- test/Jamfile.v2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 9ee04f10..93a28ca6 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -58,11 +58,11 @@ run quick.cpp ; compile unordered/self_include_tests_obj.cpp : BOOST_UNORDERED_HEADER="boost/unordered_map.hpp" - : tl_unordered_map_include_tests ; + : tl_unordered_map_hpp ; compile unordered/self_include_tests_obj.cpp : BOOST_UNORDERED_HEADER="boost/unordered_set.hpp" - : tl_unordered_set_include_tests ; + : tl_unordered_set_hpp ; local include_root = [ path.make $(TOP)/../include ] ; local headers = [ path.glob-tree $(include_root)/boost/unordered : *.hpp ] ; @@ -75,20 +75,19 @@ for local header in $(headers) local path = [ path.relative-to $(include_root) $(header) ] ; local sanitized = [ path.relative-to "$(include_root)/boost/unordered" $(header) ] ; - sanitized = [ regex.replace $(sanitized) ".hpp" "" ] ; sanitized = [ regex.replace $(sanitized) "[/.\\]" "_" ] ; paths += $(path) ; sanitized_paths += $(sanitized) ; compile unordered/self_include_tests_obj.cpp - : BOOST_UNORDERED_HEADER="$(path)" : $(sanitized)_include_tests ; + : BOOST_UNORDERED_HEADER="$(path)" : $(sanitized) ; } alias include_tests - : tl_unordered_map_include_tests - tl_unordered_set_include_tests - $(sanitized_paths)_include_tests ; + : tl_unordered_map_hpp + tl_unordered_set_hpp + $(sanitized_paths) ; local FCA_TESTS = allocator_traits