]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Boost.Variant Library test Jamfile |
2 | # | |
3 | # Copyright (C) 2003, Eric Friedman, Itay Maman. | |
1e59de90 | 4 | # Copyright (C) 2013-2022 Antony Polukhin. |
7c673cae FG |
5 | # |
6 | # Use, modification and distribution is subject to the Boost Software License, | |
7 | # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
8 | # http://www.boost.org/LICENSE_1_0.txt) | |
9 | # | |
92f5a8d4 TL |
10 | |
11 | import testing ; | |
12 | ||
1e59de90 TL |
13 | local below_cpp11 = 98 03 ; |
14 | local below_cpp14 = 98 03 0x 11 ; | |
15 | local since_cpp20 = 2a 20 latest ; | |
92f5a8d4 | 16 | |
7c673cae FG |
17 | project |
18 | : requirements | |
7c673cae FG |
19 | <toolset>msvc:<asynch-exceptions>on |
20 | ; | |
7c673cae | 21 | test-suite variant |
b32b8144 | 22 | : |
7c673cae FG |
23 | [ run test1.cpp class_a.cpp : : : : variant_test1 ] |
24 | [ run test2.cpp : : : : variant_test2 ] | |
25 | [ run test3.cpp : : : : variant_test3 ] | |
26 | [ run test3.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_test3_no_rtti ] | |
92f5a8d4 | 27 | [ run test4.cpp class_a.cpp : : : : variant_test4 ] |
7c673cae FG |
28 | [ run test5.cpp : : : : variant_test5 ] |
29 | [ run test6.cpp : : : : variant_test6 ] | |
30 | [ run test7.cpp : : : : variant_test7 ] | |
31 | [ run test8.cpp : : : : variant_test8 ] | |
32 | [ run test9.cpp : : : : variant_test9 ] | |
33 | [ run recursive_variant_test.cpp ] | |
34 | [ run variant_reference_test.cpp ] | |
35 | [ run variant_comparison_test.cpp ] | |
1e59de90 | 36 | [ run variant_visit_internal_linkage.cpp : : : "<cxxstd>$(below_cpp14)"\:<build>no ] |
7c673cae FG |
37 | [ run variant_visit_test.cpp ] |
38 | [ run variant_get_test.cpp ] | |
b32b8144 FG |
39 | [ compile-fail variant_rvalue_get_with_ampersand_test.cpp ] |
40 | [ compile-fail no_rvalue_to_nonconst_visitation.cpp ] | |
1e59de90 | 41 | [ compile fusion_interop.cpp : "<cxxstd>$(below_cpp11)"\:<build>no ] |
7c673cae FG |
42 | [ run variant_polymorphic_get_test.cpp ] |
43 | [ run variant_multivisit_test.cpp ] | |
44 | [ run hash_variant_test.cpp ] | |
45 | [ run rvalue_test.cpp ] | |
46 | [ run variant_nonempty_check.cpp ] | |
47 | [ run recursive_variant_test.cpp : : : <define>BOOST_NO_EXCEPTIONS | |
48 | <toolset>gcc-4.3:<cxxflags>-fno-exceptions | |
49 | <toolset>gcc-4.4:<cxxflags>-fno-exceptions | |
50 | <toolset>gcc-4.5:<cxxflags>-fno-exceptions | |
51 | <toolset>gcc-4.6:<cxxflags>-fno-exceptions | |
52 | <toolset>gcc-4.7:<cxxflags>-fno-exceptions | |
53 | <toolset>gcc-4.8:<cxxflags>-fno-exceptions | |
54 | <toolset>clang:<cxxflags>-fno-exceptions | |
55 | : variant_noexcept_test | |
56 | ] | |
57 | [ run recursive_variant_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_no_rtti_test ] | |
b32b8144 | 58 | [ run hash_recursive_variant_test.cpp ] |
7c673cae FG |
59 | [ run variant_swap_test.cpp ] |
60 | [ run auto_visitors.cpp ] | |
11fdf7f2 | 61 | [ run issue42.cpp ] |
20effc67 | 62 | [ run issue53.cpp ] |
1e59de90 | 63 | [ run overload_selection.cpp : : : "<cxxstd>$(since_cpp20)"\:<build>no ] |
b32b8144 FG |
64 | [ run recursive_wrapper_move_test.cpp ] |
65 | [ run variant_over_joint_view_test.cpp ] | |
66 | [ run const_ref_apply_visitor.cpp ] | |
7c673cae FG |
67 | ; |
68 | ||
69 |