]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Boost.Atomic Library test Jamfile |
2 | # | |
3 | # Copyright (c) 2011 Helge Bahmann | |
4 | # Copyright (c) 2012 Tim Blechmann | |
f67539c2 | 5 | # Copyright (c) 2020 Andrey Semashev |
7c673cae FG |
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 ] | |
f67539c2 | 25 | [ run native_ref_api.cpp ] |
7c673cae | 26 | [ run fallback_api.cpp ] |
f67539c2 | 27 | [ run fallback_ref_api.cpp ] |
7c673cae | 28 | [ run atomicity.cpp ] |
f67539c2 | 29 | [ run atomicity_ref.cpp ] |
7c673cae | 30 | [ run ordering.cpp ] |
f67539c2 | 31 | [ run ordering_ref.cpp ] |
7c673cae | 32 | [ run lockfree.cpp ] |
b32b8144 FG |
33 | [ compile-fail cf_arith_void_ptr.cpp ] |
34 | [ compile-fail cf_arith_func_ptr.cpp ] | |
35 | [ compile-fail cf_arith_mem_ptr.cpp ] | |
11fdf7f2 | 36 | [ compile c_implicit_ctor.cpp ] |
7c673cae | 37 | ; |