mirror of
https://github.com/boostorg/coroutine2.git
synced 2025-05-09 15:14:01 +00:00
add unit-test for native APIs
This commit is contained in:
parent
697f1add1a
commit
3f6916464f
@ -28,9 +28,24 @@ project boost/coroutine2/test
|
||||
<variant>release
|
||||
;
|
||||
|
||||
rule configure-impl ( properties * )
|
||||
{
|
||||
local result ;
|
||||
if ( ! ( <target-os>windows in $(properties) ) )
|
||||
{
|
||||
result = <context-impl>ucontext ;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = <context-impl>winfib ;
|
||||
}
|
||||
return $(result) ;
|
||||
}
|
||||
|
||||
test-suite minimal :
|
||||
[ run test_coroutine.cpp :
|
||||
: :
|
||||
<context-impl>fcontext
|
||||
[ requires cxx11_auto_declarations
|
||||
cxx11_constexpr
|
||||
cxx11_defaulted_functions
|
||||
@ -41,7 +56,24 @@ test-suite minimal :
|
||||
cxx11_nullptr
|
||||
cxx11_rvalue_references
|
||||
cxx11_template_aliases
|
||||
cxx11_variadic_templates ] ] ;
|
||||
cxx11_variadic_templates ]
|
||||
: test_coroutine_asm ]
|
||||
|
||||
[ run test_coroutine.cpp :
|
||||
: :
|
||||
<conditional>@configure-impl
|
||||
[ requires cxx11_auto_declarations
|
||||
cxx11_constexpr
|
||||
cxx11_defaulted_functions
|
||||
cxx11_final
|
||||
cxx11_hdr_tuple
|
||||
cxx11_lambdas
|
||||
cxx11_noexcept
|
||||
cxx11_nullptr
|
||||
cxx11_rvalue_references
|
||||
cxx11_template_aliases
|
||||
cxx11_variadic_templates ]
|
||||
: test_coroutine_native ] ;
|
||||
|
||||
test-suite full :
|
||||
minimal ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user