2
0
mirror of https://github.com/boostorg/leaf.git synced 2026-01-19 04:22:08 +00:00

Renamed try_capture_all example/test files

This commit is contained in:
Emil Dotchevski
2024-01-07 11:18:18 -08:00
parent 971141db00
commit b4093c5060
5 changed files with 10 additions and 18 deletions

View File

@@ -57,11 +57,7 @@ int main()
std::launch::async,
[&]
{
return leaf::try_capture_all(
[&]
{
return task();
} );
return leaf::try_capture_all(task);
} );
} );

View File

@@ -57,11 +57,7 @@ int main()
std::launch::async,
[&]
{
return leaf::try_capture_all(
[&]
{
return task();
} );
return leaf::try_capture_all(task);
} );
} );

View File

@@ -141,7 +141,6 @@ if option_enable_unit_tests
'diagnostic_info_test3',
'diagnostic_info_test4',
'diagnostic_info_test5',
'dynamic_capture_test',
'e_errno_test',
'e_LastError_test',
'error_code_test',
@@ -181,6 +180,7 @@ if option_enable_unit_tests
'tls_array_alloc_test3',
'tls_array_test',
'to_variant_test',
'try_capture_all_test',
'try_catch_error_id_test',
'try_catch_system_error_test',
'try_catch_test',
@@ -249,15 +249,15 @@ endif
if option_enable_examples
examples = [
'dynamic_capture_result',
'error_log',
'error_trace',
'print_half'
'print_half',
'try_capture_all_result'
]
if option_exceptions
examples += [
'dynamic_capture_eh',
'exception_to_result'
'exception_to_result',
'try_capture_all_eh'
]
if option_lua
examples += [

View File

@@ -81,7 +81,6 @@ run diagnostic_info_test2.cpp ;
run diagnostic_info_test3.cpp ;
run diagnostic_info_test4.cpp ;
run diagnostic_info_test5.cpp ;
run dynamic_capture_test.cpp ;
run e_errno_test.cpp ;
run e_LastError_test.cpp ;
run error_code_test.cpp ;
@@ -121,6 +120,7 @@ run tls_array_alloc_test2.cpp ;
run tls_array_alloc_test3.cpp ;
run tls_array_test.cpp ;
run to_variant_test.cpp ;
run try_capture_all_test.cpp ;
run try_catch_error_id_test.cpp ;
run try_catch_system_error_test.cpp ;
run try_catch_test.cpp ;
@@ -150,8 +150,8 @@ compile-fail _compile-fail-result_3.cpp ;
compile-fail _compile-fail-result_4.cpp ;
compile-fail _compile-fail-verbose_diagnostic_info.cpp ;
exe dynamic_capture_eh : ../example/dynamic_capture_eh.cpp : <threading>single:<build>no <exception-handling>off:<build>no <variant>leaf_debug_capture0:<build>no <variant>leaf_release_capture0:<build>no ;
exe dynamic_capture_result : ../example/dynamic_capture_result.cpp : <threading>single:<build>no <variant>leaf_debug_capture0:<build>no <variant>leaf_release_capture0:<build>no <variant>leaf_debug_embedded:<build>no <variant>leaf_release_embedded:<build>no ;
exe try_capture_all_eh : ../example/try_capture_all_eh.cpp : <threading>single:<build>no <exception-handling>off:<build>no <variant>leaf_debug_capture0:<build>no <variant>leaf_release_capture0:<build>no ;
exe try_capture_all_result : ../example/try_capture_all_result.cpp : <threading>single:<build>no <variant>leaf_debug_capture0:<build>no <variant>leaf_release_capture0:<build>no <variant>leaf_debug_embedded:<build>no <variant>leaf_release_embedded:<build>no ;
exe error_log : ../example/error_log.cpp : <exception-handling>off:<build>no ;
exe error_trace : ../example/error_trace.cpp : <exception-handling>off:<build>no ;
exe exception_to_result : ../example/exception_to_result.cpp : <exception-handling>off:<build>no ;