From 1d88010ae08d7988ce9fd405cd56469ab0f43af7 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 18 Sep 2024 18:09:07 +0300 Subject: [PATCH] Update test/Jamfile --- test/Jamfile | 116 ++++++++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 62 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index d1feeae..5c1ef38 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -10,84 +10,76 @@ import testing ; project : requirements /boost/function_types//boost_function_types ; -{ - test-suite function_types : +# Classification - # Classification +compile classification/is_function.cpp ; +compile classification/is_function_pointer.cpp ; +compile classification/is_function_reference.cpp ; +compile classification/is_member_function_pointer.cpp ; +compile classification/is_member_object_pointer.cpp ; +compile classification/is_callable_builtin.cpp ; +compile classification/is_nonmember_callable_builtin.cpp ; +compile classification/is_member_pointer.cpp ; - [ compile classification/is_function.cpp ] - [ compile classification/is_function_pointer.cpp ] - [ compile classification/is_function_reference.cpp ] - [ compile classification/is_member_function_pointer.cpp ] - [ compile classification/is_member_object_pointer.cpp ] - [ compile classification/is_callable_builtin.cpp ] - [ compile classification/is_nonmember_callable_builtin.cpp ] - [ compile classification/is_member_pointer.cpp ] +compile classification/is_cv_mem_func_ptr.cpp ; +compile classification/is_variadic.cpp ; +compile classification/is_cv_pointer.cpp ; +# compile classification/is_cv_function.cpp ; - [ compile classification/is_cv_mem_func_ptr.cpp ] - [ compile classification/is_variadic.cpp ] - [ compile classification/is_cv_pointer.cpp ] - # [ compile classification/is_cv_function.cpp ] +# Decomposition - # Decomposition +compile decomposition/components.cpp ; +compile decomposition/result_type.cpp ; +compile decomposition/function_arity.cpp ; +compile decomposition/parameter_types.cpp ; - [ compile decomposition/components.cpp ] - [ compile decomposition/result_type.cpp ] - [ compile decomposition/function_arity.cpp ] - [ compile decomposition/parameter_types.cpp ] +compile decomposition/components_seq.cpp ; +compile decomposition/class_type_transform.cpp ; - [ compile decomposition/components_seq.cpp ] - [ compile decomposition/class_type_transform.cpp ] +compile-fail decomposition/result_type_fail.cpp ; +compile-fail decomposition/parameter_types_fail.cpp ; +compile-fail decomposition/function_arity_fail.cpp ; - [ compile-fail decomposition/result_type_fail.cpp ] - [ compile-fail decomposition/parameter_types_fail.cpp ] - [ compile-fail decomposition/function_arity_fail.cpp ] +# Synthesis - # Synthesis +compile synthesis/function_type.cpp ; +compile synthesis/function_pointer.cpp ; +compile synthesis/function_reference.cpp ; +compile synthesis/member_function_pointer.cpp ; +compile synthesis/member_object_pointer.cpp ; - [ compile synthesis/function_type.cpp ] - [ compile synthesis/function_pointer.cpp ] - [ compile synthesis/function_reference.cpp ] - [ compile synthesis/member_function_pointer.cpp ] - [ compile synthesis/member_object_pointer.cpp ] +compile synthesis/transformation.cpp ; +compile synthesis/mem_func_ptr_cv1.cpp ; +compile synthesis/mem_func_ptr_cv2.cpp ; +compile synthesis/mem_func_ptr_cv_ptr_to_this.cpp ; +compile synthesis/variadic_function_synthesis.cpp ; +# compile synthesis/cv_function_synthesis.cpp ; - [ compile synthesis/transformation.cpp ] - [ compile synthesis/mem_func_ptr_cv1.cpp ] - [ compile synthesis/mem_func_ptr_cv2.cpp ] - [ compile synthesis/mem_func_ptr_cv_ptr_to_this.cpp ] - [ compile synthesis/variadic_function_synthesis.cpp ] - # [ compile synthesis/cv_function_synthesis.cpp ] +# Reconfiguration - # Reconfiguration +compile reconfiguration/preprocessing_mode.cpp ; +compile reconfiguration/partial_arity_preprocessing.cpp ; +compile reconfiguration/cc_preprocessing.cpp ; - [ compile reconfiguration/preprocessing_mode.cpp ] - [ compile reconfiguration/partial_arity_preprocessing.cpp ] - [ compile reconfiguration/cc_preprocessing.cpp ] +# Custom calling conventions - # Custom calling conventions +compile custom_ccs/nonmember_ccs.cpp ; +compile custom_ccs/nonmember_ccs_exact.cpp ; +compile custom_ccs/member_ccs.cpp ; +compile custom_ccs/member_ccs_exact.cpp ; - [ compile custom_ccs/nonmember_ccs.cpp : 64:no ] - [ compile custom_ccs/nonmember_ccs_exact.cpp : 64:no ] - [ compile custom_ccs/member_ccs.cpp : 64:no ] - [ compile custom_ccs/member_ccs_exact.cpp : 64:no ] +# Property tag - # Property tag +compile custom_ccs/property_tag.cpp ; - [ compile custom_ccs/property_tag.cpp ] +# Code from the examples - # Code from the examples - - [ compile ../example/interpreter_example.cpp : /boost/tokenizer//boost_tokenizer /boost/lexical_cast//boost_lexical_cast ] - [ compile ../example/result_of_example.cpp ] - [ compile ../example/interface_example.cpp ] - [ compile ../example/fast_mem_fn_example.cpp - # needed for Boost.PP file iteration with some compilers - : ../example - /boost/timer//boost_timer - /boost/bind//boost_bind - ] - [ compile ../example/macro_type_args_example.cpp ] - ; -} +compile ../example/interpreter_example.cpp : /boost/tokenizer//boost_tokenizer /boost/lexical_cast//boost_lexical_cast ; +compile ../example/result_of_example.cpp ; +compile ../example/interface_example.cpp ; +compile ../example/fast_mem_fn_example.cpp : /boost/timer//boost_timer /boost/bind//boost_bind + # needed for Boost.PP file iteration with some compilers + ../example ; +compile ../example/macro_type_args_example.cpp ;