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 11import testing ; 12 13project boost/atomic/test 14 : requirements 15 <threading>multi 16 <library>/boost/chrono//boost_chrono 17 <library>/boost/thread//boost_thread 18 <library>/boost/atomic//boost_atomic 19 <target-os>windows:<define>BOOST_USE_WINDOWS_H 20 <toolset>gcc,<target-os>windows:<linkflags>"-lkernel32" 21 ; 22 23test-suite atomic 24 : [ run atomic_api.cpp ] 25 [ run atomic_ref_api.cpp ] 26 [ run atomic_api.cpp : : : <define>BOOST_ATOMIC_FORCE_FALLBACK : fallback_atomic_api ] 27 [ run atomic_ref_api.cpp : : : <define>BOOST_ATOMIC_FORCE_FALLBACK : fallback_atomic_ref_api ] 28 [ run wait_api.cpp ] 29 [ run wait_ref_api.cpp ] 30 [ run wait_api.cpp : : : <define>BOOST_ATOMIC_FORCE_FALLBACK : fallback_wait_api ] 31 [ run wait_ref_api.cpp : : : <define>BOOST_ATOMIC_FORCE_FALLBACK : fallback_wait_ref_api ] 32 [ run wait_fuzz.cpp ] 33 [ run wait_fuzz.cpp : : : <define>BOOST_ATOMIC_FORCE_FALLBACK : fallback_wait_fuzz ] 34 [ run ipc_atomic_api.cpp ] 35 [ run ipc_atomic_ref_api.cpp ] 36 [ run ipc_wait_api.cpp ] 37 [ run ipc_wait_ref_api.cpp ] 38 [ run atomicity.cpp ] 39 [ run atomicity_ref.cpp ] 40 [ run ordering.cpp ] 41 [ run ordering_ref.cpp ] 42 [ run lockfree.cpp ] 43 [ compile-fail cf_arith_void_ptr.cpp ] 44 [ compile-fail cf_arith_func_ptr.cpp ] 45 [ compile-fail cf_arith_mem_ptr.cpp ] 46 [ compile c_implicit_ctor.cpp ] 47 ; 48