1#  (C) Copyright William E. Kempf 2001.
2#  (C) Copyright 2007 Anthony Williams.
3#  (C) Copyright 2011-2012 Vicente J.Botet Escriba.
4#  Distributed under the Boost Software License, Version 1.0. (See accompanying
5#  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6#
7# Boost.Threads test Jamfile
8#
9# Additional configuration variables used:
10#   1. PTW32 may be used on Win32 platforms to specify that the pthreads-win32
11#      library should be used instead of "native" threads. This feature is
12#      mostly used for testing and it's generally recommended you use the
13#      native threading libraries instead. PTW32 should be set to be a list
14#      of two strings, the first specifying the installation path of the
15#      pthreads-win32 library and the second specifying which library
16#      variant to link against (see the pthreads-win32 documentation).
17#      Example: jam -sPTW32="c:\pthreads-win32 pthreadVCE.lib"
18
19# bring in rules for testing
20import testing ;
21
22project
23    : requirements
24        <threading>multi
25
26        <define>BOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED
27
28        <warnings>all
29        <toolset>gcc:<cxxflags>-Wextra
30        <toolset>gcc:<cxxflags>-pedantic
31        <toolset>gcc:<cxxflags>-Wno-long-long
32        #<toolset>gcc:<cxxflags>-ansi
33        #<toolset>gcc:<cxxflags>-fpermissive
34        <toolset>gcc:<cxxflags>-Wno-variadic-macros
35        #<toolset>gcc:<cxxflags>-Wunused-local-typedefs
36        <toolset>gcc:<cxxflags>-Wunused-function
37        <toolset>gcc:<cxxflags>-Wno-unused-parameter
38
39        <toolset>darwin:<cxxflags>-Wextra
40        <toolset>darwin:<cxxflags>-pedantic
41        <toolset>darwin:<cxxflags>-Wno-long-long
42        #<toolset>darwin:<cxxflags>-ansi # doesn't work for 4.1.2
43        <toolset>darwin:<cxxflags>-fpermissive
44        <toolset>darwin:<cxxflags>-Wno-variadic-macros
45        #<toolset>darwin:<cxxflags>-Wunused-local-typedefs
46        <toolset>darwin:<cxxflags>-Wunused-function
47        <toolset>darwin:<cxxflags>-Wno-unused-parameter
48
49        #<toolset>pathscale:<cxxflags>-Wextra
50        <toolset>pathscale:<cxxflags>-Wno-long-long
51        <toolset>pathscale:<cxxflags>-pedantic
52
53        <toolset>clang:<warnings>on
54        <toolset>clang:<cxxflags>-Wextra
55        #<toolset>clang:<cxxflags>-pedantic
56        <toolset>clang:<cxxflags>-Wno-long-long
57        #<toolset>clang:<cxxflags>-ansi
58        #<toolset>clang:<cxxflags>-fpermissive # doesn't work
59        <toolset>clang:<cxxflags>-Wunused-function
60        <toolset>clang:<cxxflags>-Wno-unused-parameter
61
62        #<toolset>gcc-mingw-4.4.0:<cxxflags>-fdiagnostics-show-option
63        #<toolset>gcc-mingw-4.5.0:<cxxflags>-fdiagnostics-show-option
64        #<toolset>gcc-mingw-4.6.0:<cxxflags>-fdiagnostics-show-option
65        #<toolset>gcc-mingw-4.6.3:<cxxflags>-fdiagnostics-show-option
66        #<toolset>gcc-mingw-4.7.0:<cxxflags>-fdiagnostics-show-option
67        #<toolset>gcc-mingw-4.8.0:<cxxflags>-fdiagnostics-show-option
68
69        <toolset>darwin-4.6.2:<cxxflags>-ansi
70        #<toolset>darwin-4.6.2:<cxxflags>-Wno-delete-non-virtual-dtor # doesn't work
71        <toolset>darwin-4.7.0:<cxxflags>-ansi
72        <toolset>darwin-4.7.0:<cxxflags>-Wno-delete-non-virtual-dtor
73        #<toolset>darwin-4.6.2:<cxxflags>-Wno-unused-local-typedefs
74        #<toolset>darwin-4.7.1:<cxxflags>-Wno-unused-local-typedefs
75        #<toolset>darwin-4.7.2:<cxxflags>-Wno-unused-local-typedefs
76        #<toolset>darwin-4.8.0:<cxxflags>-Wno-unused-local-typedefs
77        #<toolset>darwin-4.6.2x:<cxxflags>-Wno-unused-local-typedefs
78        #<toolset>darwin-4.7.1x:<cxxflags>-Wno-unused-local-typedefs
79        #<toolset>darwin-4.7.2x:<cxxflags>-Wno-unused-local-typedefs
80        #<toolset>darwin-4.8.0x:<cxxflags>-Wno-unused-local-typedefs
81
82        #<toolset>clang-2.8:<cxxflags>-Wno-delete-non-virtual-dtor
83        #<toolset>clang-2.8:<cxxflags>-Wno-unused-function
84        #<toolset>clang-2.9:<cxxflags>-Wno-delete-non-virtual-dtor
85        #<toolset>clang-2.9:<cxxflags>-Wno-unused-function
86        <toolset>clang-3.0:<cxxflags>-Wno-delete-non-virtual-dtor
87        #<toolset>clang-3.0:<cxxflags>-Wno-unused-function
88        #<toolset>clang-3.0:<cxxflags>-Wno-unused-variable
89        #<toolset>clang-3.1:<cxxflags>-Wno-bind-to-temporary-copy
90        #<toolset>clang-3.2:<cxxflags>-Wno-bind-to-temporary-copy
91
92# Note: Some of the remarks from the Intel compiler are disabled
93# remark #193: zero used for undefined preprocessing identifier "XXX"
94# remark #304: access control not specified ("public" by default)
95# remark #593: variable "XXX" was set but never used
96# remark #1418: external function definition with no prior declaration
97# remark #2415: variable "XXX" of static storage duration was declared but never referenced
98
99        <toolset>intel:<cxxflags>-wd193,304,383,444
100        <toolset>intel:<cxxflags>-wd593,981
101        <toolset>intel:<cxxflags>-wd1418
102        <toolset>intel:<cxxflags>-wd2415
103
104        <toolset>msvc:<cxxflags>/wd4100
105        <toolset>msvc:<cxxflags>/wd4512
106        <toolset>msvc:<cxxflags>/wd6246
107    ;
108
109rule thread-run ( sources )
110{
111    sources = $(sources) winrt_init.cpp ;
112    return
113    [ run $(sources) ../build//boost_thread ]
114    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
115        : : : : $(sources[1]:B)_lib ]
116    ;
117}
118
119
120rule thread-test ( sources )
121{
122    sources = $(sources) winrt_init.cpp ;
123    return
124    [ run $(sources) ../build//boost_thread : : :
125      <library>/boost/test//boost_unit_test_framework
126    ]
127    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
128        : : :
129      <library>/boost/test//boost_unit_test_framework/<link>static
130    : $(sources[1]:B)_lib
131    ]
132    ;
133}
134
135rule thread-run2 ( sources : name )
136{
137    sources = $(sources) winrt_init.cpp ;
138    return
139    [ run $(sources) ../build//boost_thread : : :
140      : $(name) ]
141    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
142        : : :
143      : $(name)_lib ]
144    ;
145}
146
147rule thread-run2-noit ( sources : name )
148{
149    sources = $(sources) winrt_init.cpp ;
150    return
151    [ run $(sources) ../build//boost_thread : : :
152      : $(name) ]
153    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
154        : : :
155      : $(name)_lib ]
156    #[ run $(sources) ../build//boost_thread : : :
157    #  <define>BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
158    #  : $(name)_noit ]
159    ;
160}
161
162rule thread-run2-noit-pthread ( sources : name )
163{
164    sources = $(sources) winrt_init.cpp ;
165    return
166    [ run $(sources) ../build//boost_thread : : : <threadapi>win32:<build>no
167      : $(name) ]
168    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
169        : : : <threadapi>win32:<build>no
170      : $(name)_lib ]
171    #[ run $(sources) ../build//boost_thread : : :
172    #  <define>BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
173    #  : $(name)_noit ]
174    ;
175}
176
177rule thread-run2-h ( sources : name )
178{
179    sources = $(sources) winrt_init.cpp ;
180    return
181    [ run $(sources) : : :
182      <library>/boost/system//boost_system
183      <define>BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS
184      <define>BOOST_THREAD_VERSION=3
185    : $(name)_h ]
186    ;
187}
188
189
190rule thread-run-lib2 ( sources : name )
191{
192    sources = $(sources) winrt_init.cpp ;
193    return
194    [ run $(sources) ../src/tss_null.cpp ../build//boost_thread/<link>static
195        : : :
196      : $(name)_lib ]
197    ;
198}
199
200
201rule thread-compile-fail ( sources : reqs * : name )
202{
203    return
204    [ compile-fail $(sources)
205        : $(reqs)
206        : $(name) ]
207    ;
208}
209
210rule thread-compile ( sources : reqs * : name )
211{
212    return
213    [ compile $(sources)
214        : $(reqs)
215        : $(name) ]
216    ;
217}
218
219{
220    test-suite t_threads
221    :
222          [ thread-test test_thread.cpp ]
223          [ thread-test test_thread_id.cpp ]
224          [ thread-test test_hardware_concurrency.cpp ]
225          [ thread-test test_physical_concurrency.cpp ]
226          [ thread-test test_thread_move.cpp ]
227          [ thread-test test_thread_return_local.cpp ]
228          [ thread-test test_thread_move_return.cpp ]
229          [ thread-test test_thread_launching.cpp ]
230          [ thread-test test_thread_mf.cpp ]
231          [ thread-test test_thread_exit.cpp ]
232          [ thread-test test_move_function.cpp ]
233          [ compile-fail no_implicit_move_from_lvalue_thread.cpp ]
234          [ compile-fail no_implicit_assign_from_lvalue_thread.cpp ]
235          [ thread-test test_tss.cpp ]
236          [ thread-test test_xtime.cpp ]
237    ;
238
239    test-suite t_sync
240    :
241          [ thread-test test_mutex.cpp ]
242          [ thread-test test_condition_notify_one.cpp ]
243          [ thread-test test_condition_timed_wait_times_out.cpp ]
244          [ thread-test test_condition_notify_all.cpp ]
245          [ thread-test test_condition.cpp ]
246          [ thread-test test_once.cpp ]
247          [ thread-run test_barrier.cpp ]
248          [ thread-run test_barrier_void_fct.cpp ]
249          [ thread-run test_barrier_size_fct.cpp ]
250          [ thread-test test_lock_concept.cpp ]
251          [ thread-test test_generic_locks.cpp ]
252          [ thread-run  test_latch.cpp ]
253          [ thread-run  test_completion_latch.cpp ]
254    ;
255
256    test-suite t_shared
257    :
258          [ thread-test test_shared_mutex.cpp ]
259          [ thread-test test_shared_mutex_part_2.cpp ]
260          [ thread-test test_shared_mutex_timed_locks.cpp ]
261          [ thread-test test_shared_mutex_timed_locks_chrono.cpp ]
262          #uncomment the following once these works on windows
263          #[ thread-test test_vhh_shared_mutex.cpp ]
264          #[ thread-test test_vhh_shared_mutex_part_2.cpp ]
265          #[ thread-test test_vhh_shared_mutex_timed_locks.cpp ]
266    ;
267
268    #explicit t_futures ;
269    test-suite t_futures
270    :
271          [ thread-test test_futures.cpp ]
272    ;
273
274
275    #explicit tickets ;
276    test-suite tickets
277    :
278          [ thread-test test_2309.cpp ]
279          [ thread-run test_2501.cpp ]
280          [ thread-test test_2741.cpp ]
281          [ thread-run test_3628.cpp ]
282          [ thread-run test_4521.cpp ]
283          [ thread-run test_4648.cpp ]
284          [ thread-run test_4882.cpp ]
285          [ thread-run test_5542_1.cpp ]
286          [ thread-run test_5542_2.cpp ]
287          [ thread-run test_5542_3.cpp ]
288          [ thread-run test_5891.cpp ]
289          #[ thread-run test_6130.cpp ]
290          #[ thread-run test_6170.cpp ]
291          [ thread-run test_6174.cpp ]
292          #[ thread-run test_7160.cpp ]
293          [ thread-run test_7328.cpp ]
294          [ thread-run test_7571.cpp ]
295          [ thread-run test_9319.cpp ]
296          #[ thread-run test_9711.cpp ] This is an invalid use of ::then deferred.
297          [ thread-run test_9856.cpp ]
298          [ thread-compile test_10963.cpp : : test_10963_c ]
299          [ thread-run test_10964.cpp ]
300          [ thread-test test_11053.cpp ]
301    ;
302
303
304    explicit oth_tickets ;
305    test-suite oth_tickets
306    :
307          [ thread-run test_5351.cpp ]
308          [ thread-run test_5502.cpp ]
309    ;
310
311
312
313    #explicit ts_conditions ;
314    test-suite ts_conditions
315    :
316          [ thread-compile-fail ./sync/conditions/condition_variable/assign_fail.cpp : : condition_variable__assign_f ]
317          [ thread-compile-fail ./sync/conditions/condition_variable/copy_fail.cpp : : condition_variable__copy_f ]
318          [ thread-run2-noit ./sync/conditions/condition_variable/default_pass.cpp : condition_variable__default_p ]
319          [ thread-run2-noit ./sync/conditions/condition_variable/dtor_pass.cpp : condition_variable__dtor_p ]
320          [ thread-run2-noit-pthread ./sync/conditions/condition_variable/native_handle_pass.cpp : condition_variable__native_handle_p ]
321          [ thread-run2-noit ./sync/conditions/condition_variable/wait_pass.cpp : condition_variable__wait_p ]
322          [ thread-run2-noit ./sync/conditions/condition_variable/wait_for_pass.cpp : condition_variable__wait_for_p ]
323          [ thread-run2-noit ./sync/conditions/condition_variable/wait_for_pred_pass.cpp : condition_variable__wait_for_pred_p ]
324          [ thread-run2-noit ./sync/conditions/condition_variable/wait_until_pass.cpp : condition_variable__wait_until_p ]
325          [ thread-run2-noit ./sync/conditions/condition_variable/wait_until_pred_pass.cpp : condition_variable__wait_until_pred_p ]
326
327          [ thread-compile-fail ./sync/conditions/condition_variable_any/assign_fail.cpp : : condition_variable_any__assign_f ]
328          [ thread-compile-fail ./sync/conditions/condition_variable_any/copy_fail.cpp : : condition_variable_any__copy_f ]
329          [ thread-run2-noit ./sync/conditions/condition_variable_any/default_pass.cpp : condition_variable_any__default_p ]
330          [ thread-run2-noit ./sync/conditions/condition_variable_any/dtor_pass.cpp : condition_variable_any__dtor_p ]
331          [ thread-run2-noit ./sync/conditions/condition_variable_any/wait_for_pass.cpp : condition_variable_any__wait_for_p ]
332          [ thread-run2-noit ./sync/conditions/condition_variable_any/wait_for_pred_pass.cpp : condition_variable_any__wait_for_pred_p ]
333          [ thread-run2-noit ./sync/conditions/condition_variable_any/wait_until_pass.cpp : condition_variable_any__wait_until_p ]
334          [ thread-run2-noit ./sync/conditions/condition_variable_any/wait_until_pred_pass.cpp : condition_variable_any__wait_until_pred_p ]
335          [ thread-run2-noit ./sync/conditions/cv_status/cv_status_pass.cpp : cv_status__cv_status_p ]
336          [ thread-run2-noit ./sync/conditions/notify_all_at_thread_exit_pass.cpp : notify_all_at_thread_exit_p ]
337    ;
338
339    #explicit ts_async ;
340    test-suite ts_async
341    :
342          [ thread-run2-noit ./sync/futures/async/async_pass.cpp : async__async_p ]
343          [ thread-run2-noit ./sync/futures/async/async_executor_pass.cpp : async__async_executor_p ]
344    ;
345
346    #explicit ts_promise ;
347    test-suite ts_promise
348    :
349          [ thread-compile-fail ./sync/futures/promise/copy_assign_fail.cpp : : promise__copy_assign_f ]
350          [ thread-compile-fail ./sync/futures/promise/copy_ctor_fail.cpp : : promise__copy_ctor_f ]
351          [ thread-run2-noit ./sync/futures/promise/alloc_ctor_pass.cpp : promise__alloc_ctor_p ]
352          [ thread-run2-noit ./sync/futures/promise/default_pass.cpp : promise__default_p ]
353          [ thread-run2-noit ./sync/futures/promise/dtor_pass.cpp : promise__dtor_p ]
354          [ thread-run2-noit ./sync/futures/promise/get_future_pass.cpp : promise__get_future_p ]
355          [ thread-run2-noit ./sync/futures/promise/move_ctor_pass.cpp : promise__move_ctor_p ]
356          [ thread-run2-noit ./sync/futures/promise/move_assign_pass.cpp : promise__move_asign_p ]
357          [ thread-run2-noit ./sync/futures/promise/set_exception_pass.cpp : promise__set_exception_p ]
358          [ thread-run2-noit ./sync/futures/promise/set_lvalue_pass.cpp : promise__set_lvalue_p ]
359          [ thread-run2-noit ./sync/futures/promise/set_rvalue_pass.cpp : promise__set_rvalue_p ]
360          [ thread-run2-noit ./sync/futures/promise/set_value_const_pass.cpp : promise__set_value_const_p ]
361          [ thread-run2-noit ./sync/futures/promise/set_value_void_pass.cpp : promise__set_value_void_p ]
362          [ thread-run2-noit ./sync/futures/promise/emplace_pass.cpp : promise__emplace_p ]
363          [ thread-run2-noit ./sync/futures/promise/use_allocator_pass.cpp : promise__use_allocator_p ]
364          [ thread-run2-noit ./sync/futures/promise/set_exception_at_thread_exit_pass.cpp : promise__set_exception_at_thread_exit_p ]
365          [ thread-run2-noit ./sync/futures/promise/set_lvalue_at_thread_exit_pass.cpp : promise__set_lvalue_at_thread_exit_p ]
366          [ thread-run2-noit ./sync/futures/promise/set_rvalue_at_thread_exit_pass.cpp : promise__set_rvalue_at_thread_exit_p ]
367          [ thread-run2-noit ./sync/futures/promise/set_value_at_thread_exit_const_pass.cpp : promise__set_value_at_thread_exit_const_p ]
368          [ thread-run2-noit ./sync/futures/promise/set_value_at_thread_exit_void_pass.cpp : promise__set_value_at_thread_exit_void_p ]
369    ;
370
371    #explicit ts_make_ready_future ;
372    test-suite ts_make_ready_future
373    :
374          [ thread-run2-noit ./sync/futures/make_ready_future_pass.cpp : make_ready_future_p ]
375    ;
376
377    #explicit ts_future ;
378    test-suite ts_future
379    :
380          [ thread-compile-fail ./sync/futures/future/copy_assign_fail.cpp : : future__copy_assign_f ]
381          [ thread-compile-fail ./sync/futures/future/copy_ctor_fail.cpp : : future__copy_ctor_f ]
382          [ thread-run2-noit ./sync/futures/future/default_pass.cpp : future__default_p ]
383          [ thread-run2-noit ./sync/futures/future/dtor_pass.cpp : future__dtor_p ]
384          [ thread-run2-noit ./sync/futures/future/get_pass.cpp : future__get_p ]
385          [ thread-run2-noit ./sync/futures/future/get_or_pass.cpp : future__get_or_p ]
386          [ thread-run2-noit ./sync/futures/future/move_ctor_pass.cpp : future__move_ctor_p ]
387          [ thread-run2-noit ./sync/futures/future/move_assign_pass.cpp : future__move_asign_p ]
388          [ thread-run2-noit ./sync/futures/future/share_pass.cpp : future__share_p ]
389          [ thread-run2-noit ./sync/futures/future/wait_pass.cpp : future__wait_p ]
390          [ thread-run2-noit ./sync/futures/future/wait_for_pass.cpp : future__wait_for_p ]
391          [ thread-run2-noit ./sync/futures/future/wait_until_pass.cpp : future__wait_until_p ]
392          [ thread-run2-noit ./sync/futures/future/then_pass.cpp : future__then_p ]
393          [ thread-run2-noit ./sync/futures/future/then_executor_pass.cpp : future__then_executor_p ]
394          [ thread-run2-noit ./sync/futures/future/async_deferred_then_pass.cpp : future__async_def_then_p ]
395          [ thread-run2-noit ./sync/futures/future/then_deferred_pass.cpp : future__then_def_p ]
396    ;
397
398    #explicit ts_shared_future ;
399    test-suite ts_shared_future
400    :
401          [ thread-run2-noit ./sync/futures/shared_future/copy_assign_pass.cpp : shared_future__copy_assign_p ]
402          [ thread-run2-noit ./sync/futures/shared_future/copy_ctor_pass.cpp : shared_future__copy_ctor_p ]
403          [ thread-run2-noit ./sync/futures/shared_future/default_pass.cpp : shared_future__default_p ]
404          [ thread-run2-noit ./sync/futures/shared_future/dtor_pass.cpp : shared_future__dtor_p ]
405          [ thread-run2-noit ./sync/futures/shared_future/get_pass.cpp : shared_future__get_p ]
406          [ thread-run2-noit ./sync/futures/shared_future/move_ctor_pass.cpp : shared_future__move_ctor_p ]
407          [ thread-run2-noit ./sync/futures/shared_future/move_assign_pass.cpp : shared_future__move_asign_p ]
408          [ thread-run2-noit ./sync/futures/shared_future/wait_pass.cpp : shared_future__wait_p ]
409          [ thread-run2-noit ./sync/futures/shared_future/wait_for_pass.cpp : shared_future__wait_for_p ]
410          [ thread-run2-noit ./sync/futures/shared_future/wait_until_pass.cpp : shared_future__wait_until_p ]
411          [ thread-run2-noit ./sync/futures/shared_future/then_pass.cpp : shared_future__then_p ]
412          [ thread-run2-noit ./sync/futures/shared_future/then_executor_pass.cpp : shared_future__then_executor_p ]
413    ;
414
415    #explicit ts_packaged_task ;
416    test-suite ts_packaged_task
417    :
418          [ thread-run2-noit ./sync/futures/packaged_task/alloc_ctor_pass.cpp : packaged_task__alloc_ctor_p ]
419          [ thread-compile-fail ./sync/futures/packaged_task/copy_assign_fail.cpp : : packaged_task__copy_assign_f ]
420          [ thread-compile-fail ./sync/futures/packaged_task/copy_ctor_fail.cpp : : packaged_task__copy_ctor_f ]
421          [ thread-run2-noit ./sync/futures/packaged_task/default_ctor_pass.cpp : packaged_task__default_ctor_p ]
422          [ thread-run2-noit ./sync/futures/packaged_task/func_ctor_pass.cpp : packaged_task__func_ctor_p ]
423          [ thread-run2-noit ./sync/futures/packaged_task/dtor_pass.cpp : packaged_task__dtor_p ]
424          [ thread-run2-noit ./sync/futures/packaged_task/get_future_pass.cpp : packaged_task__get_future_p ]
425          [ thread-run2-noit ./sync/futures/packaged_task/move_ctor_pass.cpp : packaged_task__move_ctor_p ]
426          [ thread-run2-noit ./sync/futures/packaged_task/move_assign_pass.cpp : packaged_task__move_asign_p ]
427          [ thread-run2-noit ./sync/futures/packaged_task/operator_pass.cpp : packaged_task__operator_p ]
428          [ thread-run2-noit ./sync/futures/packaged_task/reset_pass.cpp : packaged_task__reset_p ]
429          [ thread-run2-noit ./sync/futures/packaged_task/use_allocator_pass.cpp : packaged_task__use_allocator_p ]
430          [ thread-run2-noit ./sync/futures/packaged_task/types_pass.cpp : packaged_task__types_p ]
431          [ thread-run2-noit ./sync/futures/packaged_task/member_swap_pass.cpp : packaged_task__member_swap_p ]
432          [ thread-run2-noit ./sync/futures/packaged_task/non_member_swap_pass.cpp : packaged_task__non_member_swap_p ]
433          [ thread-run2-noit ./sync/futures/packaged_task/make_ready_at_thread_exit_pass.cpp : packaged_task__make_ready_at_thread_exit_p ]
434    ;
435
436
437    #explicit ts_when_all ;
438    test-suite ts_when_all
439    :
440          [ thread-run2-noit ./sync/futures/when_all/none_pass.cpp : when_all__none_p ]
441          [ thread-run2-noit ./sync/futures/when_all/one_pass.cpp : when_all__one_p ]
442          [ thread-run2-noit ./sync/futures/when_all/iterators_pass.cpp : when_all__iterators_p ]
443          [ thread-run2-noit ./sync/futures/when_all/variadic_pass.cpp : when_all__variadic_p ]
444    ;
445
446    #explicit ts_when_any ;
447    test-suite ts_when_any
448    :
449          [ thread-run2-noit ./sync/futures/when_any/none_pass.cpp : when_any__none_p ]
450          [ thread-run2-noit ./sync/futures/when_any/one_pass.cpp : when_any__one_p ]
451          [ thread-run2-noit ./sync/futures/when_any/iterators_pass.cpp : when_any__iterators_p ]
452          [ thread-run2-noit ./sync/futures/when_any/variadic_pass.cpp : when_any__variadic_p ]
453    ;
454
455    #explicit ts_lock_guard ;
456    test-suite ts_lock_guard
457    :
458          [ thread-compile-fail ./sync/mutual_exclusion/locks/lock_guard/copy_assign_fail.cpp : : lock_guard__cons__copy_assign_f ]
459          [ thread-compile-fail ./sync/mutual_exclusion/locks/lock_guard/copy_ctor_fail.cpp : : lock_guard__cons__copy_ctor_f ]
460          [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/adopt_lock_pass.cpp : lock_guard__cons__adopt_lock_p ]
461          [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/default_pass.cpp : lock_guard__cons__default_p ]
462          [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/types_pass.cpp : lock_guard__types_p ]
463          [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/make_lock_guard_pass.cpp : make_lock_guard_p ]
464          [ thread-run2-noit ./sync/mutual_exclusion/locks/lock_guard/make_lock_guard_adopt_lock_pass.cpp : make_lock_guard__adopt_lock_p ]
465    ;
466
467    #explicit ts_unique_lock ;
468    test-suite ts_unique_lock
469    :
470          [ thread-compile-fail ./sync/mutual_exclusion/locks/unique_lock/cons/copy_assign_fail.cpp : : unique_lock__cons__copy_assign_f ]
471          [ thread-compile-fail ./sync/mutual_exclusion/locks/unique_lock/cons/copy_ctor_fail.cpp : : unique_lock__cons__copy_ctor_f ]
472          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/adopt_lock_pass.cpp : unique_lock__cons__adopt_lock_p ]
473          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/default_pass.cpp : unique_lock__cons__default_p ]
474          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/defer_lock_pass.cpp : unique_lock__cons__defer_lock_p ]
475          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/duration_pass.cpp : unique_lock__cons__duration_p ]
476          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_assign_pass.cpp : unique_lock__cons__move_assign_p ]
477          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_pass.cpp : unique_lock__cons__move_ctor_p ]
478          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_upgrade_lock_pass.cpp : uq_lk_cons_mv_c_upg_lk_p ]
479          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_upgrade_lock_try_pass.cpp : uq_lk_cons_mv_c_upg_lk_t_p ]
480          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_upgrade_lock_for_pass.cpp : uq_lk_cons_mv_c_upg_lk_f_p ]
481          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_upgrade_lock_until_pass.cpp : uq_lk_cons_mv_c_upg_lk_u_p ]
482          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/mutex_pass.cpp : unique_lock__cons__mutex_p ]
483          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/time_point_pass.cpp : unique_lock__cons__time_point_p ]
484          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/try_to_lock_pass.cpp : unique_lock__cons__try_to_lock_p ]
485          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/locking/lock_pass.cpp : unique_lock__lock_p ]
486          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/locking/try_lock_for_pass.cpp : unique_lock__try_lock_for_p ]
487          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/locking/try_lock_pass.cpp : unique_lock__try_lock_p ]
488          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/locking/try_lock_until_pass.cpp : unique_lock__try_lock_until_p ]
489          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/locking/unlock_pass.cpp : unique_lock__unlock_p ]
490          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/mod/member_swap_pass.cpp : unique_lock__member_swap_p ]
491          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/mod/non_member_swap_pass.cpp : unique_lock__non_member_swap_p ]
492          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/mod/release_pass.cpp : unique_lock__release_p ]
493          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/obs/mutex_pass.cpp : unique_lock__mutex_p ]
494          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/obs/op_bool_pass.cpp : unique_lock__op_bool_p ]
495          #[ thread-compile-fail ./sync/mutual_exclusion/locks/unique_lock/obs/op_int_fail.cpp : : unique_lock__op_int_f ]
496          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/obs/owns_lock_pass.cpp : unique_lock__owns_lock_p ]
497          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/types_pass.cpp : unique_lock__types_p ]
498
499
500    ;
501
502    #explicit ts_make_unique_lock ;
503    test-suite ts_make_unique_lock
504    :
505          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/make_unique_lock_mutex_pass.cpp : make_unique_lock__mutex_p ]
506          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/make_unique_lock_adopt_lock_pass.cpp : make_unique_lock__adopt_lock_p ]
507          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/make_unique_lock_defer_lock_pass.cpp : make_unique_lock__defer_lock_p ]
508          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/make_unique_lock_try_to_lock_pass.cpp : make_unique_lock__try_to_lock_p ]
509
510          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/make_unique_locks_mutex_pass.cpp : make_unique_locks__mutex_p ]
511
512    ;
513
514    #explicit ts_shared_lock ;
515    test-suite ts_shared_lock
516    :
517          [ thread-compile-fail ./sync/mutual_exclusion/locks/shared_lock/cons/copy_assign_fail.cpp : : shared_lock__cons__copy_assign_f ]
518          [ thread-compile-fail ./sync/mutual_exclusion/locks/shared_lock/cons/copy_ctor_fail.cpp : : shared_lock__cons__copy_ctor_f ]
519          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/adopt_lock_pass.cpp : shared_lock__cons__adopt_lock_p ]
520          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/default_pass.cpp : shared_lock__cons__default_p ]
521          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/defer_lock_pass.cpp : shared_lock__cons__defer_lock_p ]
522          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/duration_pass.cpp : shared_lock__cons__duration_p ]
523          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/move_assign_pass.cpp : shared_lock__cons__move_assign_p ]
524          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/move_ctor_pass.cpp : shared_lock__cons__move_ctor_p ]
525          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/move_ctor_unique_lock_pass.cpp : sh_lock_cons_move_ctor_unq_lock_p ]
526          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/move_ctor_upgrade_lock_pass.cpp : sh_lock_cons_move_ctor_upg_lock_p ]
527          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/mutex_pass.cpp : shared_lock__cons__mutex_p ]
528          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/time_point_pass.cpp : shared_lock__cons__time_point_p ]
529          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/cons/try_to_lock_pass.cpp : shared_lock__cons__try_to_lock_p ]
530          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/locking/lock_pass.cpp : shared_lock__lock_p ]
531          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/locking/try_lock_for_pass.cpp : shared_lock__try_lock_for_p ]
532          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/locking/try_lock_pass.cpp : shared_lock__try_lock_p ]
533          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/locking/try_lock_until_pass.cpp : shared_lock__try_lock_until_p ]
534          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/locking/unlock_pass.cpp : shared_lock__unlock_p ]
535          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/mod/member_swap_pass.cpp : shared_lock__member_swap_p ]
536          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/mod/non_member_swap_pass.cpp : shared_lock__non_member_swap_p ]
537          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/mod/release_pass.cpp : shared_lock__release_p ]
538          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/obs/mutex_pass.cpp : shared_lock__mutex_p ]
539          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/obs/op_bool_pass.cpp : shared_lock__op_bool_p ]
540          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/obs/owns_lock_pass.cpp : shared_lock__owns_lock_p ]
541          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock/types_pass.cpp : shared_lock__types_p ]
542
543          #[ thread-run2-h ./sync/mutual_exclusion/locks/shared_lock/cons/default_pass.cpp : shared_lock__cons__default_p ]
544          #[ thread-run2-h ./sync/mutual_exclusion/locks/shared_lock/cons/defer_lock_pass.cpp : shared_lock__cons__defer_lock_p ]
545
546    ;
547
548    #explicit ts_upgrade_lock ;
549    test-suite ts_upgrade_lock
550    :
551          [ thread-compile-fail ./sync/mutual_exclusion/locks/upgrade_lock/cons/copy_assign_fail.cpp : : upgrade_lock__cons__copy_assign_f ]
552          [ thread-compile-fail ./sync/mutual_exclusion/locks/upgrade_lock/cons/copy_ctor_fail.cpp : : upgrade_lock__cons__copy_ctor_f ]
553          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/adopt_lock_pass.cpp : upgrade_lock__cons__adopt_lock_p ]
554          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/default_pass.cpp : upgrade_lock__cons__default_p ]
555          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/defer_lock_pass.cpp : upgrade_lock__cons__defer_lock_p ]
556          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/duration_pass.cpp : upgrade_lock__cons__duration_p ]
557          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_assign_pass.cpp : upgrade_lock__cons__move_assign_p ]
558          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_ctor_pass.cpp : upgrade_lock__cons__move_ctor_p ]
559          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_ctor_unique_lock_pass.cpp : upg_lock_cons_mv_ctor_uq_lock_p ]
560          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/mutex_pass.cpp : upgrade_lock__cons__mutex_p ]
561          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/time_point_pass.cpp : upgrade_lock__cons__time_point_p ]
562          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/try_to_lock_pass.cpp : upgrade_lock__cons__try_to_lock_p ]
563          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/locking/lock_pass.cpp : upgrade_lock__lock_p ]
564          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/locking/try_lock_for_pass.cpp : upgrade_lock__try_lock_for_p ]
565          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/locking/try_lock_pass.cpp : upgrade_lock__try_lock_p ]
566          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/locking/try_lock_until_pass.cpp : upgrade_lock__try_lock_until_p ]
567          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/locking/unlock_pass.cpp : upgrade_lock__unlock_p ]
568          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/mod/member_swap_pass.cpp : upgrade_lock__member_swap_p ]
569          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/mod/non_member_swap_pass.cpp : upgrade_lock__non_member_swap_p ]
570          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/mod/release_pass.cpp : upgrade_lock__release_p ]
571          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/obs/mutex_pass.cpp : upgrade_lock__mutex_p ]
572          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/obs/op_bool_pass.cpp : upgrade_lock__op_bool_p ]
573          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/obs/owns_lock_pass.cpp : upgrade_lock__owns_lock_p ]
574          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/types_pass.cpp : upgrade_lock__types_p ]
575    ;
576
577    #explicit ts_strict_lock ;
578    test-suite ts_strict_lock
579    :
580          [ thread-compile-fail ./sync/mutual_exclusion/locks/strict_lock/copy_assign_fail.cpp : : strict_lock__cons__copy_assign_f ]
581          [ thread-compile-fail ./sync/mutual_exclusion/locks/strict_lock/copy_ctor_fail.cpp : : strict_lock__cons__copy_ctor_f ]
582          [ thread-run2-noit ./sync/mutual_exclusion/locks/strict_lock/default_pass.cpp : strict_lock__cons__default_p ]
583          [ thread-run2-noit ./sync/mutual_exclusion/locks/strict_lock/owns_lock_pass.cpp : strict_lock__owns_lock_p ]
584          [ thread-run2-noit ./sync/mutual_exclusion/locks/strict_lock/types_pass.cpp : strict_lock__types_p ]
585          [ thread-run2-noit ./sync/mutual_exclusion/locks/strict_lock/make_strict_lock_pass.cpp : make_strict_lock_p ]
586    ;
587
588    #explicit ts_nested_strict_lock ;
589    test-suite ts_nested_strict_lock
590    :
591          [ thread-compile-fail ./sync/mutual_exclusion/locks/nested_strict_lock/copy_assign_fail.cpp : : nested_strict_lock_cons_copy_assign_f ]
592          [ thread-compile-fail ./sync/mutual_exclusion/locks/nested_strict_lock/copy_ctor_fail.cpp : : nested_strict_lock_cons_copy_ctor_f ]
593          [ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/default_pass.cpp : nested_strict_lock__cons__default_p ]
594          [ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/owns_lock_pass.cpp : nested_strict_lock__owns_lock_p ]
595          [ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/types_pass.cpp : nested_strict_lock__types_p ]
596          [ thread-run2-noit ./sync/mutual_exclusion/locks/nested_strict_lock/make_nested_strict_lock_pass.cpp : make_nested_strict_lock_p ]
597    ;
598
599
600    #explicit ts_once ;
601    test-suite ts_once
602    :
603          #[ thread-compile-fail ./sync/mutual_exclusion/once/once_flag/assign_fail.cpp : : once_flag__assign_f ]
604          #[ thread-compile-fail ./sync/mutual_exclusion/once/once_flag/copy_fail.cpp : : once_flag__copy_f ]
605          #[ thread-run2-noit ./sync/mutual_exclusion/once/once_flag/default_pass.cpp : once_flag__default_p ]
606          [ thread-run2-noit ./sync/mutual_exclusion/once/call_once/call_once_pass.cpp : call_once_p ]
607    ;
608
609    #explicit ts_mutex ;
610    test-suite ts_mutex
611    :
612          [ thread-compile-fail ./sync/mutual_exclusion/mutex/assign_fail.cpp : : mutex__assign_f ]
613          [ thread-compile-fail ./sync/mutual_exclusion/mutex/copy_fail.cpp : : mutex__copy_f ]
614          [ thread-run2-noit ./sync/mutual_exclusion/mutex/default_pass.cpp : mutex__default_p ]
615          [ thread-run2-noit ./sync/mutual_exclusion/mutex/lock_pass.cpp : mutex__lock_p ]
616          [ thread-run2-noit-pthread ./sync/mutual_exclusion/mutex/native_handle_pass.cpp : mutex__native_handle_p ]
617          [ thread-run2-noit ./sync/mutual_exclusion/mutex/try_lock_pass.cpp : mutex__try_lock_p ]
618    ;
619
620    #explicit ts_recursive_mutex ;
621    test-suite ts_recursive_mutex
622    :
623          [ thread-compile-fail ./sync/mutual_exclusion/recursive_mutex/assign_fail.cpp : : recursive_mutex__assign_f ]
624          [ thread-compile-fail ./sync/mutual_exclusion/recursive_mutex/copy_fail.cpp : : recursive_mutex__copy_f ]
625          [ thread-run2-noit ./sync/mutual_exclusion/recursive_mutex/default_pass.cpp : recursive_mutex__default_p ]
626          [ thread-run2-noit ./sync/mutual_exclusion/recursive_mutex/lock_pass.cpp : recursive_mutex__lock_p ]
627          [ thread-run2-noit-pthread ./sync/mutual_exclusion/recursive_mutex/native_handle_pass.cpp : recursive_mutex__native_handle_p ]
628          [ thread-run2-noit ./sync/mutual_exclusion/recursive_mutex/try_lock_pass.cpp : recursive_mutex__try_lock_p ]
629    ;
630
631    #explicit ts_recursive_timed_mutex ;
632    test-suite ts_recursive_timed_mutex
633    :
634          [ thread-compile-fail ./sync/mutual_exclusion/recursive_timed_mutex/assign_fail.cpp : : recursive_timed_mutex__assign_f ]
635          [ thread-compile-fail ./sync/mutual_exclusion/recursive_timed_mutex/copy_fail.cpp : : recursive_timed_mutex__copy_f ]
636          [ thread-run2-noit ./sync/mutual_exclusion/recursive_timed_mutex/default_pass.cpp : recursive_timed_mutex__default_p ]
637          [ thread-run2-noit ./sync/mutual_exclusion/recursive_timed_mutex/lock_pass.cpp : recursive_timed_mutex__lock_p ]
638          [ thread-run2-noit-pthread ./sync/mutual_exclusion/recursive_timed_mutex/native_handle_pass.cpp : rec_timed_mutex_native_handle_p ]
639          [ thread-run2-noit ./sync/mutual_exclusion/recursive_timed_mutex/try_lock_for_pass.cpp : rec_timed_mutex_try_lock_for_p ]
640          [ thread-run2-noit ./sync/mutual_exclusion/recursive_timed_mutex/try_lock_pass.cpp : recursive_timed_mutex__try_lock_p ]
641          [ thread-run2-noit ./sync/mutual_exclusion/recursive_timed_mutex/try_lock_until_pass.cpp : rec_timed_mutex_try_lock_until_p ]
642    ;
643
644    #explicit ts_timed_mutex ;
645    test-suite ts_timed_mutex
646    :
647          [ thread-compile-fail ./sync/mutual_exclusion/timed_mutex/assign_fail.cpp : : timed_mutex__assign_f ]
648          [ thread-compile-fail ./sync/mutual_exclusion/timed_mutex/copy_fail.cpp : : timed_mutex__copy_f ]
649          [ thread-run2-noit ./sync/mutual_exclusion/timed_mutex/default_pass.cpp : timed_mutex__default_p ]
650          [ thread-run2-noit ./sync/mutual_exclusion/timed_mutex/lock_pass.cpp : timed_mutex__lock_p ]
651          [ thread-run2-noit-pthread ./sync/mutual_exclusion/timed_mutex/native_handle_pass.cpp : timed_mutex__native_handle_p ]
652          [ thread-run2-noit ./sync/mutual_exclusion/timed_mutex/try_lock_for_pass.cpp : timed_mutex__try_lock_for_p ]
653          [ thread-run2-noit ./sync/mutual_exclusion/timed_mutex/try_lock_pass.cpp : timed_mutex__try_lock_p ]
654          [ thread-run2-noit ./sync/mutual_exclusion/timed_mutex/try_lock_until_pass.cpp : timed_mutex__try_lock_until_p ]
655    ;
656
657    #explicit ts_shared_mutex ;
658    test-suite ts_shared_mutex
659    :
660          [ thread-compile-fail ./sync/mutual_exclusion/shared_mutex/assign_fail.cpp : : shared_mutex__assign_f ]
661          [ thread-compile-fail ./sync/mutual_exclusion/shared_mutex/copy_fail.cpp : : shared_mutex__copy_f ]
662          [ thread-run2-noit ./sync/mutual_exclusion/shared_mutex/default_pass.cpp : shared_mutex__default_p ]
663          [ thread-run2-noit ./sync/mutual_exclusion/shared_mutex/lock_pass.cpp : shared_mutex__lock_p ]
664          [ thread-run2-noit ./sync/mutual_exclusion/shared_mutex/try_lock_for_pass.cpp : shared_mutex__try_lock_for_p ]
665          [ thread-run2-noit ./sync/mutual_exclusion/shared_mutex/try_lock_pass.cpp : shared_mutex__try_lock_p ]
666          [ thread-run2-noit ./sync/mutual_exclusion/shared_mutex/try_lock_until_pass.cpp : shared_mutex__try_lock_until_p ]
667
668          #[ thread-run2-h ./sync/mutual_exclusion/shared_mutex/default_pass.cpp : shared_mutex__default_p ]
669    ;
670
671    #explicit ts_null_mutex ;
672    test-suite ts_null_mutex
673    :
674          [ thread-compile-fail ./sync/mutual_exclusion/null_mutex/assign_fail.cpp : : null_mutex__assign_f ]
675          [ thread-compile-fail ./sync/mutual_exclusion/null_mutex/copy_fail.cpp : : null_mutex__copy_f ]
676          [ thread-run2-noit ./sync/mutual_exclusion/null_mutex/default_pass.cpp : null_mutex__default_p ]
677          [ thread-run2-noit ./sync/mutual_exclusion/null_mutex/lock_pass.cpp : null_mutex__lock_p ]
678          [ thread-run2-noit ./sync/mutual_exclusion/null_mutex/try_lock_for_pass.cpp : null_mutex__try_lock_for_p ]
679          [ thread-run2-noit ./sync/mutual_exclusion/null_mutex/try_lock_pass.cpp : null_mutex__try_lock_p ]
680          [ thread-run2-noit ./sync/mutual_exclusion/null_mutex/try_lock_until_pass.cpp : null_mutex__try_lock_until_p ]
681    ;
682
683    test-suite ts_sync_queue
684    :
685          [ thread-run2-noit ./sync/mutual_exclusion/sync_queue/single_thread_pass.cpp : sync_queue__single_thread_p ]
686          [ thread-run2-noit ./sync/mutual_exclusion/sync_queue/multi_thread_pass.cpp : sync_queue__multi_thread_p ]
687    ;
688
689    test-suite ts_sync_deque
690    :
691          [ thread-run2-noit ./sync/mutual_exclusion/sync_deque/single_thread_pass.cpp : sync_deque__single_thread_p ]
692          [ thread-run2-noit ./sync/mutual_exclusion/sync_deque/multi_thread_pass.cpp : sync_deque__multi_thread_p ]
693    ;
694
695    test-suite ts_sync_bounded_queue
696    :
697          [ thread-run2-noit ./sync/mutual_exclusion/sync_bounded_queue/single_thread_pass.cpp : sync_bounded_q_single_thread_p ]
698          [ thread-run2-noit ./sync/mutual_exclusion/sync_bounded_queue/multi_thread_pass.cpp : sync_bounded_q_multi_thread_p ]
699    ;
700
701    test-suite ts_sync_pq
702    :
703          [ thread-run2-noit ./sync/mutual_exclusion/sync_pq/pq_single_thread_pass.cpp : sync_pq_single_thread_p ]
704          [ thread-run2-noit ./sync/mutual_exclusion/sync_pq/pq_multi_thread_pass.cpp : sync_pq_multi_thread_p ]
705    ;
706
707    test-suite ts_sync_tq
708    :
709          [ thread-run2-noit ./sync/mutual_exclusion/sync_pq/tq_single_thread_pass.cpp : sync_tq_single_thread_p ]
710          #[ thread-run2-noit ./sync/mutual_exclusion/sync_pq/tq_multi_thread_pass.cpp : sync_tq_multi_thread_p ]
711    ;
712
713    test-suite ts_scheduler
714    :
715          [ thread-run2-noit ./test_scheduled_tp.cpp : test_scheduled_tp_p ]
716          [ thread-run2-noit ./test_scheduling_adaptor.cpp : test_scheduling_adaptor_p ]
717          [ thread-run2-noit ./test_scheduler.cpp : test_scheduler_p ]
718    ;
719
720    test-suite ts_queue_views
721    :
722          [ thread-run2-noit ./sync/mutual_exclusion/queue_views/single_thread_pass.cpp : queue_views__single_thread_p ]
723          #[ thread-run2-noit ./sync/mutual_exclusion/queue_views/multi_thread_pass.cpp : queue_views__multi_thread_p ]
724    ;
725
726    test-suite ts_deque_views
727    :
728          [ thread-run2-noit ./sync/mutual_exclusion/deque_views/single_thread_pass.cpp : deque_views__single_thread_p ]
729          #[ thread-run2-noit ./sync/mutual_exclusion/deque_views/multi_thread_pass.cpp : deque_views__multi_thread_p ]
730    ;
731
732    #explicit ts_this_thread ;
733    test-suite ts_this_thread
734    :
735          [ thread-run2-noit ./threads/this_thread/get_id/get_id_pass.cpp : this_thread__get_id_p ]
736          [ thread-run2-noit ./threads/this_thread/sleep_for/sleep_for_pass.cpp : this_thread__sleep_for_p ]
737          [ thread-run2-noit ./threads/this_thread/sleep_until/sleep_until_pass.cpp : this_thread__sleep_until_p ]
738    ;
739
740    #explicit ts_thread ;
741    test-suite ts_thread
742    :
743          [ thread-compile-fail ./threads/thread/assign/copy_fail.cpp : : thread__assign__copy_f ]
744          [ thread-run2-noit ./threads/thread/assign/move_pass.cpp : thread__assign__move_p ]
745          [ thread-compile-fail ./threads/thread/constr/copy_fail.cpp : : thread__constr__copy_f ]
746          [ thread-run2-noit ./threads/thread/constr/default_pass.cpp : thread__constr__default_p ]
747          [ thread-run-lib2 ./threads/thread/constr/lambda_pass.cpp : thread__constr__lambda_p ]
748          [ thread-run-lib2 ./threads/thread/constr/F_pass.cpp : thread__constr__F_p ]
749          [ thread-run-lib2 ./threads/thread/constr/FArgs_pass.cpp : thread__constr__FArgs_p ]
750          [ thread-run2-noit ./threads/thread/constr/Frvalue_pass.cpp : thread__constr__Frvalue_p ]
751          [ thread-run2-noit ./threads/thread/constr/FrvalueArgs_pass.cpp : thread__constr__FrvalueArgs_p ]
752          [ thread-run2-noit ./threads/thread/constr/move_pass.cpp : thread__constr__move_p ]
753          [ thread-run2-noit ./threads/thread/destr/dtor_pass.cpp : thread__destr__dtor_p ]
754          [ thread-run2-noit ./threads/thread/id/hash_pass.cpp : thread__id__hash_p ]
755          [ thread-run2-noit ./threads/thread/members/detach_pass.cpp : thread__detach_p ]
756          [ thread-run2-noit ./threads/thread/members/get_id_pass.cpp : thread__get_id_p ]
757          [ thread-run2-noit ./threads/thread/members/join_pass.cpp : thread__join_p ]
758          [ thread-run2-noit ./threads/thread/members/try_join_until_pass.cpp : thread__join_until_p ]
759          [ thread-run2-noit ./threads/thread/members/try_join_for_pass.cpp : thread__join_for_p ]
760          [ thread-run2-noit ./threads/thread/members/joinable_pass.cpp : thread__joinable_p ]
761          [ thread-run2-noit ./threads/thread/members/native_handle_pass.cpp : thread__native_handle_p ]
762          [ thread-run2-noit ./threads/thread/members/swap_pass.cpp : thread__swap_p ]
763          [ thread-run2-noit ./threads/thread/non_members/swap_pass.cpp : swap_threads_p ]
764          [ thread-run2-noit ./threads/thread/static/hardware_concurrency_pass.cpp : thread__hardware_concurrency_p ]
765    ;
766
767    #explicit ts_container ;
768    test-suite ts_container
769    :
770          [ thread-run2-noit ./threads/container/thread_vector_pass.cpp : container__thread_vector_p ]
771          [ thread-run2-noit ./threads/container/thread_ptr_list_pass.cpp : container__thread_ptr_list_p ]
772    ;
773
774    #explicit ts_examples ;
775    test-suite ts_examples
776    :
777          [ thread-run2-noit ../example/monitor.cpp : ex_monitor ]
778          [ thread-compile ../example/starvephil.cpp : : ex_starvephil ]
779          [ thread-run2 ../example/tennis.cpp : ex_tennis ]
780          [ thread-compile ../example/condition.cpp : : ex_condition ]
781          [ thread-run2-noit ../example/mutex.cpp : ex_mutex ]
782          [ thread-run2-noit ../example/once.cpp : ex_once ]
783          [ thread-run2-noit ../example/recursive_mutex.cpp : ex_recursive_mutex ]
784          [ thread-run2-noit ../example/thread.cpp : ex_thread ]
785          [ thread-run2-noit ../example/thread_group.cpp : ex_thread_group ]
786          [ thread-run2-noit ../example/tss.cpp : ex_tss ]
787          [ thread-run2 ../example/xtime.cpp : ex_xtime ]
788          [ thread-run2 ../example/shared_monitor.cpp : ex_shared_monitor ]
789          [ thread-run2 ../example/shared_mutex.cpp : ex_shared_mutex ]
790          #[ thread-run ../example/vhh_shared_monitor.cpp ]
791          #[ thread-run ../example/vhh_shared_mutex.cpp ]
792          [ thread-run2 ../example/make_future.cpp : ex_make_future ]
793          [ thread-run2 ../example/future_then.cpp : ex_future_then ]
794          [ thread-run2 ../example/future_fallback_to.cpp : ex_future_fallback_to ]
795          [ thread-run2 ../example/future_unwrap.cpp : ex_future_unwrap ]
796          [ thread-run2-noit ../example/synchronized_value.cpp : ex_synchronized_value ]
797          [ thread-run2-noit ../example/synchronized_person.cpp : ex_synchronized_person ]
798          [ thread-run2-noit ../example/thread_guard.cpp : ex_thread_guard ]
799          [ thread-run2-noit ../example/scoped_thread.cpp : ex_scoped_thread ]
800          [ thread-run2-noit ../example/strict_lock.cpp : ex_strict_lock ]
801          [ thread-run2-noit ../example/ba_externallly_locked.cpp : ex_ba_externallly_locked ]
802          [ thread-run2 ../example/producer_consumer_bounded.cpp : ex_producer_consumer_bounded ]
803          [ thread-run2 ../example/producer_consumer.cpp : ex_producer_consumer ]
804          [ thread-run2 ../example/producer_consumer2.cpp : ex_producer_consumer2 ]
805          [ thread-run2 ../example/not_interleaved.cpp : ex_not_interleaved ]
806          [ thread-run2 ../example/lambda_future.cpp : ex_lambda_future ]
807          [ thread-run2 ../example/not_interleaved2.cpp : ex_not_interleaved2 ]
808          [ thread-run2 ../example/thread_pool.cpp : ex_thread_pool ]
809          [ thread-run2 ../example/user_scheduler.cpp : ex_user_scheduler ]
810          [ thread-run2 ../example/executor.cpp : ex_executor ]
811          [ thread-run2 ../example/generic_executor_ref.cpp : ex_generic_executor_ref ]
812          [ thread-run2 ../example/serial_executor.cpp : ex_serial_executor ]
813          [ thread-run2 ../example/serial_executor_cont.cpp : ex_serial_executor_cont ]
814          [ thread-run2 ../example/future_when_all.cpp : ex_future_when_all ]
815          [ thread-run2 ../example/parallel_accumulate.cpp : ex_parallel_accumulate ]
816          [ thread-run2 ../example/parallel_quick_sort.cpp : ex_parallel_quick_sort ]
817          [ thread-run2 ../example/with_lock_guard.cpp : ex_with_lock_guard ]
818          [ thread-run2 ../example/fib_task_region.cpp : ex_fib_task_region ]
819    ;
820
821    #explicit ts_shared_upwards ;
822    test-suite ts_shared_upwards
823    :
824          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_shared_lock_try_pass.cpp : uq_lock_cons_mv_ctor_sh_lock_try_p ]
825          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_shared_lock_for_pass.cpp : uq_lock_cons_mv_ctor_sh_lock_for_p ]
826          [ thread-run2-noit ./sync/mutual_exclusion/locks/unique_lock/cons/move_ctor_shared_lock_until_pass.cpp : uq_lock_cons_mv_ctor_sh_lock_until_p ]
827
828          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_ctor_shared_lock_try_pass.cpp : upg_lock_cons_move_ctor_sh_lock_try_p ]
829          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_ctor_shared_lock_for_pass.cpp : upg_lock_cons_move_ctor_sh_lock_for_p ]
830          [ thread-run2-noit ./sync/mutual_exclusion/locks/upgrade_lock/cons/move_ctor_shared_lock_until_pass.cpp : upg_lock_cons_move_ctor_sh_lock_untl_p ]
831    ;
832
833
834    #explicit ts_shared_lock_guard ;
835    test-suite ts_shared_lock_guard
836    :
837          [ thread-compile-fail ./sync/mutual_exclusion/locks/shared_lock_guard/copy_assign_fail.cpp : : shared_lock_guard__cons__copy_assign_f ]
838          [ thread-compile-fail ./sync/mutual_exclusion/locks/shared_lock_guard/copy_ctor_fail.cpp : : shared_lock_guard__cons__copy_ctor_f ]
839          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock_guard/adopt_lock_pass.cpp : shared_lock_guard__cons__adopt_lock_p ]
840          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock_guard/default_pass.cpp : shared_lock_guard__cons__default_p ]
841          [ thread-run2-noit ./sync/mutual_exclusion/locks/shared_lock_guard/types_pass.cpp : shared_lock_guard__types_p ]
842    ;
843
844    #explicit ts_reverse_lock ;
845    test-suite ts_reverse_lock
846    :
847          [ thread-compile-fail ./sync/mutual_exclusion/locks/reverse_lock/copy_assign_fail.cpp : : reverse_lock__copy_assign_f ]
848          [ thread-compile-fail ./sync/mutual_exclusion/locks/reverse_lock/copy_ctor_fail.cpp : : reverse_lock__copy_ctor_f ]
849          [ thread-run2-noit ./sync/mutual_exclusion/locks/reverse_lock/unique_lock_ctor_pass.cpp : reverse_lock__unique_lock_ctor_p ]
850          [ thread-run2-noit ./sync/mutual_exclusion/locks/reverse_lock/types_pass.cpp : reverse_lock__types_p ]
851    ;
852
853
854    #explicit ts_synchronized_value ;
855    test-suite ts_synchronized_value
856    :
857          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/copy_assign_pass.cpp : synchronized_value__copy_assign_p ]
858          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/copy_ctor_pass.cpp : synchronized_value__copy_ctor_p ]
859          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/copy_T_assign_pass.cpp : synchronized_value__copy_T_assign_p ]
860          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/copy_T_ctor_pass.cpp : synchronized_value__copy_T_ctor_p ]
861          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/default_ctor_pass.cpp : synchronized_value__default_ctor_p ]
862          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/indirect_pass.cpp : synchronized_value__indirect_p ]
863          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/move_assign_pass.cpp : synchronized_value__move_assign_p ]
864          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/move_ctor_pass.cpp : synchronized_value__move_ctor_p ]
865          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/move_T_assign_pass.cpp : synchronized_value__move_T_assign_p ]
866          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/move_T_ctor_pass.cpp : synchronized_value__move_T_ctor_p ]
867          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/swap_pass.cpp : synchronized_value__swap_p ]
868          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/swap_T_pass.cpp : synchronized_value__swap_T_p ]
869          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/synchronize_pass.cpp : synchronized_value__synchronize_p ]
870          [ thread-run2-noit ./sync/mutual_exclusion/synchronized_value/call_pass.cpp : synchronized_value__call_p ]
871
872    ;
873
874
875    test-suite ts_with_lock_guard
876    :
877          [ thread-run2-noit ./sync/mutual_exclusion/with_lock_guard/with_lock_guard_simple.cpp : with_lock_guard_simple_p ]
878          [ thread-run2-noit ./sync/mutual_exclusion/with_lock_guard/with_lock_guard_bind.cpp : with_lock_guard_bind_p ]
879          [ thread-run2-noit ./sync/mutual_exclusion/with_lock_guard/with_lock_guard_move.cpp : with_lock_guard_move_p ]
880          [ thread-run2-noit ./sync/mutual_exclusion/with_lock_guard/with_lock_guard_lambda.cpp : with_lock_guard_lambda_p ]
881    ;
882
883    explicit ts_invoke ;
884    test-suite ts_invoke
885    :
886          [ thread-run2-noit ./functional/invoke/invoke_int_0_pass.cpp : invoke_int_0_p ]
887          [ thread-run2-noit ./functional/invoke/invoke_lvalue_pass.cpp : invoke_lvalue_p ]
888          [ thread-run2-noit ./functional/invoke/invoke_rvalue_pass.cpp : invoke_rvalue_p ]
889    ;
890
891    explicit ts_invoker ;
892    test-suite ts_invoker
893    :
894          [ thread-run2-noit ./functional/invoker/invoker_int_0_pass.cpp : invoker_int_0_p ]
895          [ thread-run2-noit ./functional/invoker/invoker_lvalue_pass.cpp : invoker_lvalue_p ]
896          [ thread-run2-noit ./functional/invoker/invoker_rvalue_pass.cpp : invoker_rvalue_p ]
897    ;
898
899
900
901    explicit ts_more ;
902    test-suite ts_more
903    :
904          [ thread-run test_7666.cpp ]
905          [ thread-run test_7720.cpp ]
906          [ thread-run test_7755.cpp ]
907          [ thread-run test_8455.cpp ]
908          [ thread-run test_8508.cpp ]
909          #[ thread-run test_8557.cpp ]
910          [ thread-run test_8586.cpp ]
911          [ thread-run test_8943.cpp ]
912          [ thread-run test_8960.cpp ]
913          [ thread-run test_9079_a.cpp ]
914          [ thread-run test_9079_b.cpp ]
915          [ thread-run test_9192.cpp ]
916          #[ thread-run test_9303.cpp ]
917          #[ thread-run test_9720.cpp ]
918          #[ thread-run test_10125.cpp ]
919          #[ thread-run test_10128.cpp ]
920          #[ thread-run test_10340.cpp ]
921    ;
922
923    explicit ts_more_cpp11 ;
924    test-suite ts_more_cpp11
925    :
926          [ thread-run test_8596.cpp ]
927          [ thread-run test_8600.cpp ]
928    ;
929
930    explicit perf ;
931    test-suite perf
932    :
933          #[ thread-run ../example/perf_condition_variable.cpp ]
934          #[ thread-run ../example/perf_shared_mutex.cpp ]
935    ;
936
937
938    #explicit ts_exception_list ;
939    test-suite ts_exception_list
940    :
941          [ thread-run2-noit ./experimental/parallel/v1/exception_list_pass.cpp : exception_list_p ]
942    ;
943
944    #explicit ts_task_region ;
945    test-suite ts_task_region
946    :
947          [ thread-run2-noit ./experimental/parallel/v2/task_region_pass.cpp : task_region_p ]
948    ;
949
950    explicit ts_ ;
951    test-suite ts_
952    :
953          [ thread-run2 ../example/this_executor.cpp : ex_this_executor ]
954          [ thread-run2 ../example/default_executor.cpp : ex_default_executor ]
955    ;
956
957}
958