]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/context/test/Jamfile.v2
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / context / test / Jamfile.v2
index ef63e290f34a6ef09b04025cd7620557106e556e..0f270bcc22380e7f27849e986b39f9f67292aa10 100644 (file)
@@ -24,15 +24,17 @@ 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 * )
+rule native-impl ( properties * )
 {
     local result  ;
-    if ( ! ( <target-os>windows in $(properties) ) )
+    if ( <target-os>darwin in $(properties) || <target-os>android in $(properties) )
+    {
+        result = <build>no ;
+    }
+    else if ( ! ( <target-os>windows in $(properties) ) )
     {
         result = <context-impl>ucontext ;
     }
@@ -76,7 +78,7 @@ test-suite minimal :
                cxx11_thread_local
                cxx11_variadic_templates ] ]
 
-[ run test_callcc.cpp :
+[ run test_fiber.cpp :
     : :
     <context-impl>fcontext
     [ requires cxx11_auto_declarations
@@ -92,11 +94,11 @@ test-suite minimal :
                cxx11_template_aliases
                cxx11_thread_local
                cxx11_variadic_templates ]
-    : test_callcc_asm ]
+    : test_fiber_asm ]
 
-[ run test_callcc.cpp :
+[ run test_fiber.cpp :
     : :
-    <conditional>@configure-impl
+    <conditional>@native-impl
     [ requires cxx11_auto_declarations
                cxx11_constexpr
                cxx11_defaulted_functions
@@ -110,20 +112,45 @@ test-suite minimal :
                cxx11_template_aliases
                cxx11_thread_local
                cxx11_variadic_templates ]
-    : test_call_native ] ;
-
-
+    : test_fiber_native ]
 
-test-suite full :
-    minimal ;
+[ 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
+               cxx11_nullptr
+               cxx11_rvalue_references
+               cxx11_template_aliases
+               cxx11_thread_local
+               cxx11_variadic_templates ]
+    : test_callcc_asm ]
 
-test-suite fc :
-[ run test_fcontext.cpp :
+[ run test_callcc.cpp :
     : :
-    ] ;
+    <conditional>@native-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_callcc_native ]
 
-test-suite ec :
-[ run test_execution_context.cpp :
+[ run test_execution_context_v2.cpp :
     : :
     [ requires cxx11_auto_declarations
                cxx11_constexpr
@@ -139,6 +166,15 @@ test-suite ec :
                cxx11_thread_local
                cxx11_variadic_templates ] ] ;
 
+
+
+test-suite full :
+    minimal ;
+
+test-suite fc :
+[ run test_fcontext.cpp :
+    : :
+    ] ;
+
 explicit minimal ;
 explicit fc ;
-explicit ec ;