]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/context/test/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / context / test / Jamfile.v2
1 # Boost.Context Library Tests Jamfile
2
3 # Copyright Oliver Kowalke 2009.
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or copy at
6 # http://www.boost.org/LICENSE_1_0.txt)
7
8 import common ;
9 import feature ;
10 import indirect ;
11 import modules ;
12 import os ;
13 import testing ;
14 import toolset ;
15 import ../../config/checks/config : requires ;
16
17 project boost/context/test
18 : requirements
19 <library>../../test/build//boost_unit_test_framework
20 <library>/boost/context//boost_context
21 <toolset>gcc,<segmented-stacks>on:<cxxflags>-fsplit-stack
22 <toolset>gcc,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
23 <toolset>clang,<segmented-stacks>on:<cxxflags>-fsplit-stack
24 <toolset>clang,<segmented-stacks>on:<cxxflags>-DBOOST_USE_SEGMENTED_STACKS
25 <link>static
26 <threading>multi
27 <optimization>speed
28 <variant>release
29 ;
30
31
32 rule configure-impl ( properties * )
33 {
34 local result ;
35 if ( ! ( <target-os>windows in $(properties) ) )
36 {
37 result = <context-impl>ucontext ;
38 }
39 else
40 {
41 result = <context-impl>winfib ;
42 }
43 return $(result) ;
44 }
45
46 test-suite minimal :
47 [ run test_invoke.cpp :
48 : :
49 [ requires cxx11_auto_declarations
50 cxx11_constexpr
51 cxx11_defaulted_functions
52 cxx11_final
53 cxx11_hdr_thread
54 cxx11_hdr_tuple
55 cxx11_lambdas
56 cxx11_noexcept
57 cxx11_nullptr
58 cxx11_rvalue_references
59 cxx11_template_aliases
60 cxx11_thread_local
61 cxx11_variadic_templates ] ]
62
63 [ run test_apply.cpp :
64 : :
65 [ requires cxx11_auto_declarations
66 cxx11_constexpr
67 cxx11_defaulted_functions
68 cxx11_final
69 cxx11_hdr_thread
70 cxx11_hdr_tuple
71 cxx11_lambdas
72 cxx11_noexcept
73 cxx11_nullptr
74 cxx11_rvalue_references
75 cxx11_template_aliases
76 cxx11_thread_local
77 cxx11_variadic_templates ] ]
78
79 [ run test_callcc.cpp :
80 : :
81 <context-impl>fcontext
82 [ requires cxx11_auto_declarations
83 cxx11_constexpr
84 cxx11_defaulted_functions
85 cxx11_final
86 cxx11_hdr_thread
87 cxx11_hdr_tuple
88 cxx11_lambdas
89 cxx11_noexcept
90 cxx11_nullptr
91 cxx11_rvalue_references
92 cxx11_template_aliases
93 cxx11_thread_local
94 cxx11_variadic_templates ]
95 : test_callcc_asm ]
96
97 [ run test_callcc.cpp :
98 : :
99 <conditional>@configure-impl
100 [ requires cxx11_auto_declarations
101 cxx11_constexpr
102 cxx11_defaulted_functions
103 cxx11_final
104 cxx11_hdr_thread
105 cxx11_hdr_tuple
106 cxx11_lambdas
107 cxx11_noexcept
108 cxx11_nullptr
109 cxx11_rvalue_references
110 cxx11_template_aliases
111 cxx11_thread_local
112 cxx11_variadic_templates ]
113 : test_call_native ] ;
114
115
116
117 test-suite full :
118 minimal ;
119
120 test-suite fc :
121 [ run test_fcontext.cpp :
122 : :
123 ] ;
124
125 test-suite ec :
126 [ run test_execution_context.cpp :
127 : :
128 [ requires cxx11_auto_declarations
129 cxx11_constexpr
130 cxx11_defaulted_functions
131 cxx11_final
132 cxx11_hdr_thread
133 cxx11_hdr_tuple
134 cxx11_lambdas
135 cxx11_noexcept
136 cxx11_nullptr
137 cxx11_rvalue_references
138 cxx11_template_aliases
139 cxx11_thread_local
140 cxx11_variadic_templates ] ] ;
141
142 explicit minimal ;
143 explicit fc ;
144 explicit ec ;