]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/atomic/test/Jamfile.v2
buildsys: switch source download to quincy
[ceph.git] / ceph / src / boost / libs / atomic / test / Jamfile.v2
1 # Boost.Atomic Library test Jamfile
2 #
3 # Copyright (c) 2011 Helge Bahmann
4 # Copyright (c) 2012 Tim Blechmann
5 # Copyright (c) 2020 Andrey Semashev
6 #
7 # Distributed under the Boost Software License, Version 1.0. (See
8 # accompanying file LICENSE_1_0.txt or copy at
9 # http://www.boost.org/LICENSE_1_0.txt)
10
11 import testing ;
12
13 project boost/atomic/test
14 : requirements
15 <threading>multi
16 <library>/boost/thread//boost_thread
17 <library>/boost/atomic//boost_atomic
18 <target-os>windows:<define>BOOST_USE_WINDOWS_H
19 <target-os>windows:<define>_WIN32_WINNT=0x0500
20 <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
21 ;
22
23 test-suite atomic
24 : [ run native_api.cpp ]
25 [ run native_ref_api.cpp ]
26 [ run fallback_api.cpp ]
27 [ run fallback_ref_api.cpp ]
28 [ run atomicity.cpp ]
29 [ run atomicity_ref.cpp ]
30 [ run ordering.cpp ]
31 [ run ordering_ref.cpp ]
32 [ run lockfree.cpp ]
33 [ compile-fail cf_arith_void_ptr.cpp ]
34 [ compile-fail cf_arith_func_ptr.cpp ]
35 [ compile-fail cf_arith_mem_ptr.cpp ]
36 [ compile c_implicit_ctor.cpp ]
37 ;