]> git.proxmox.com Git - ceph.git/blob - 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
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 ;
28
29
30 rule native-impl ( properties * )
31 {
32 local result ;
33 if ( <target-os>darwin in $(properties) || <target-os>android in $(properties) )
34 {
35 result = <build>no ;
36 }
37 else if ( ! ( <target-os>windows in $(properties) ) )
38 {
39 result = <context-impl>ucontext ;
40 }
41 else
42 {
43 result = <context-impl>winfib ;
44 }
45 return $(result) ;
46 }
47
48 test-suite minimal :
49 [ run test_invoke.cpp :
50 : :
51 [ requires cxx11_auto_declarations
52 cxx11_constexpr
53 cxx11_defaulted_functions
54 cxx11_final
55 cxx11_hdr_thread
56 cxx11_hdr_tuple
57 cxx11_lambdas
58 cxx11_noexcept
59 cxx11_nullptr
60 cxx11_rvalue_references
61 cxx11_template_aliases
62 cxx11_thread_local
63 cxx11_variadic_templates ] ]
64
65 [ run test_apply.cpp :
66 : :
67 [ requires cxx11_auto_declarations
68 cxx11_constexpr
69 cxx11_defaulted_functions
70 cxx11_final
71 cxx11_hdr_thread
72 cxx11_hdr_tuple
73 cxx11_lambdas
74 cxx11_noexcept
75 cxx11_nullptr
76 cxx11_rvalue_references
77 cxx11_template_aliases
78 cxx11_thread_local
79 cxx11_variadic_templates ] ]
80
81 [ run test_fiber.cpp :
82 : :
83 <context-impl>fcontext
84 [ requires cxx11_auto_declarations
85 cxx11_constexpr
86 cxx11_defaulted_functions
87 cxx11_final
88 cxx11_hdr_thread
89 cxx11_hdr_tuple
90 cxx11_lambdas
91 cxx11_noexcept
92 cxx11_nullptr
93 cxx11_rvalue_references
94 cxx11_template_aliases
95 cxx11_thread_local
96 cxx11_variadic_templates ]
97 : test_fiber_asm ]
98
99 [ run test_fiber.cpp :
100 : :
101 <conditional>@native-impl
102 [ requires cxx11_auto_declarations
103 cxx11_constexpr
104 cxx11_defaulted_functions
105 cxx11_final
106 cxx11_hdr_thread
107 cxx11_hdr_tuple
108 cxx11_lambdas
109 cxx11_noexcept
110 cxx11_nullptr
111 cxx11_rvalue_references
112 cxx11_template_aliases
113 cxx11_thread_local
114 cxx11_variadic_templates ]
115 : test_fiber_native ]
116
117 [ run test_callcc.cpp :
118 : :
119 <context-impl>fcontext
120 [ requires cxx11_auto_declarations
121 cxx11_constexpr
122 cxx11_defaulted_functions
123 cxx11_final
124 cxx11_hdr_thread
125 cxx11_hdr_tuple
126 cxx11_lambdas
127 cxx11_noexcept
128 cxx11_nullptr
129 cxx11_rvalue_references
130 cxx11_template_aliases
131 cxx11_thread_local
132 cxx11_variadic_templates ]
133 : test_callcc_asm ]
134
135 [ run test_callcc.cpp :
136 : :
137 <conditional>@native-impl
138 [ requires cxx11_auto_declarations
139 cxx11_constexpr
140 cxx11_defaulted_functions
141 cxx11_final
142 cxx11_hdr_thread
143 cxx11_hdr_tuple
144 cxx11_lambdas
145 cxx11_noexcept
146 cxx11_nullptr
147 cxx11_rvalue_references
148 cxx11_template_aliases
149 cxx11_thread_local
150 cxx11_variadic_templates ]
151 : test_callcc_native ]
152
153 [ run test_execution_context_v2.cpp :
154 : :
155 [ requires cxx11_auto_declarations
156 cxx11_constexpr
157 cxx11_defaulted_functions
158 cxx11_final
159 cxx11_hdr_thread
160 cxx11_hdr_tuple
161 cxx11_lambdas
162 cxx11_noexcept
163 cxx11_nullptr
164 cxx11_rvalue_references
165 cxx11_template_aliases
166 cxx11_thread_local
167 cxx11_variadic_templates ] ] ;
168
169
170
171 test-suite full :
172 minimal ;
173
174 test-suite fc :
175 [ run test_fcontext.cpp :
176 : :
177 ] ;
178
179 explicit minimal ;
180 explicit fc ;