]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/context/test/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / context / test / Jamfile.v2
index 7d342bfebf1ba24bcaf3f6cd3950e8f257d1ff8d..ef63e290f34a6ef09b04025cd7620557106e556e 100644 (file)
@@ -24,8 +24,25 @@ project boost/context/test
       <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
       <link>static
       <threading>multi
+      <optimization>speed
+      <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_invoke.cpp :
     : :
@@ -33,6 +50,7 @@ test-suite minimal :
                cxx11_constexpr
                cxx11_defaulted_functions
                cxx11_final
+               cxx11_hdr_thread
                cxx11_hdr_tuple
                cxx11_lambdas
                cxx11_noexcept
@@ -48,6 +66,7 @@ test-suite minimal :
                cxx11_constexpr
                cxx11_defaulted_functions
                cxx11_final
+               cxx11_hdr_thread
                cxx11_hdr_tuple
                cxx11_lambdas
                cxx11_noexcept
@@ -57,12 +76,14 @@ test-suite minimal :
                cxx11_thread_local
                cxx11_variadic_templates ] ]
 
-[ run test_execution_context.cpp :
+[ run test_callcc.cpp :
     : :
+    <context-impl>fcontext
     [ requires cxx11_auto_declarations
                cxx11_constexpr
                cxx11_defaulted_functions
                cxx11_final
+               cxx11_hdr_thread
                cxx11_hdr_tuple
                cxx11_lambdas
                cxx11_noexcept
@@ -70,12 +91,54 @@ test-suite minimal :
                cxx11_rvalue_references
                cxx11_template_aliases
                cxx11_thread_local
-               cxx11_variadic_templates ] ] ;
+               cxx11_variadic_templates ]
+    : test_callcc_asm ]
+
+[ run test_callcc.cpp :
+    : :
+    <conditional>@configure-impl
+    [ requires cxx11_auto_declarations
+               cxx11_constexpr
+               cxx11_defaulted_functions
+               cxx11_final
+               cxx11_hdr_thread
+               cxx11_hdr_tuple
+               cxx11_lambdas
+               cxx11_noexcept
+               cxx11_nullptr
+               cxx11_rvalue_references
+               cxx11_template_aliases
+               cxx11_thread_local
+               cxx11_variadic_templates ]
+    : test_call_native ] ;
+
+
 
 test-suite full :
     minimal ;
 
-test-suite extra ;
+test-suite fc :
+[ run test_fcontext.cpp :
+    : :
+    ] ;
+
+test-suite ec :
+[ run test_execution_context.cpp :
+    : :
+    [ requires cxx11_auto_declarations
+               cxx11_constexpr
+               cxx11_defaulted_functions
+               cxx11_final
+               cxx11_hdr_thread
+               cxx11_hdr_tuple
+               cxx11_lambdas
+               cxx11_noexcept
+               cxx11_nullptr
+               cxx11_rvalue_references
+               cxx11_template_aliases
+               cxx11_thread_local
+               cxx11_variadic_templates ] ] ;
 
 explicit minimal ;
-explicit extra ;
+explicit fc ;
+explicit ec ;