2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-02-02 20:32:09 +00:00
Files
atomic/test/Jamfile.v2
Andrey Semashev 904871c37d Implemented atomic_ref.
This commit adds C++20 atomic_ref implementation, documentation and tests.
2020-02-25 02:00:05 +03:00

38 lines
1.1 KiB
Plaintext

# Boost.Atomic Library test Jamfile
#
# Copyright (c) 2011 Helge Bahmann
# Copyright (c) 2012 Tim Blechmann
# Copyright (c) 2020 Andrey Semashev
#
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import testing ;
project boost/atomic/test
: requirements
<threading>multi
<library>/boost/thread//boost_thread
<library>/boost/atomic//boost_atomic
<target-os>windows:<define>BOOST_USE_WINDOWS_H
<target-os>windows:<define>_WIN32_WINNT=0x0500
<toolset>gcc,<target-os>windows:<linkflags>"-lkernel32"
;
test-suite atomic
: [ run native_api.cpp ]
[ run native_ref_api.cpp ]
[ run fallback_api.cpp ]
[ run fallback_ref_api.cpp ]
[ run atomicity.cpp ]
[ run atomicity_ref.cpp ]
[ run ordering.cpp ]
[ run ordering_ref.cpp ]
[ run lockfree.cpp ]
[ compile-fail cf_arith_void_ptr.cpp ]
[ compile-fail cf_arith_func_ptr.cpp ]
[ compile-fail cf_arith_mem_ptr.cpp ]
[ compile c_implicit_ctor.cpp ]
;