1#  Boost.Variant Library test Jamfile
2#
3#  Copyright (C) 2003, Eric Friedman, Itay Maman.
4#  Copyright (C) 2013-2021 Antony Polukhin.
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#
10
11import testing ;
12
13local below-c++14 = 98 03 0x 11 ;
14
15project
16    : requirements
17        <toolset>msvc:<asynch-exceptions>on
18    ;
19test-suite variant
20     :
21    [ run test1.cpp class_a.cpp : : : : variant_test1 ]
22    [ run test2.cpp : : : : variant_test2 ]
23    [ run test3.cpp : : : : variant_test3 ]
24    [ run test3.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_test3_no_rtti ]
25    [ run test4.cpp class_a.cpp : : : : variant_test4 ]
26    [ run test5.cpp : : : : variant_test5 ]
27    [ run test6.cpp : : : : variant_test6 ]
28    [ run test7.cpp : : : : variant_test7 ]
29    [ run test8.cpp : : : : variant_test8 ]
30    [ run test9.cpp : : : : variant_test9 ]
31    [ run recursive_variant_test.cpp ]
32    [ run variant_reference_test.cpp ]
33    [ run variant_comparison_test.cpp ]
34    [ run variant_visit_internal_linkage.cpp : : : "<cxxstd>$(below-c++14)":<build>no ]
35    [ run variant_visit_test.cpp ]
36    [ run variant_get_test.cpp ]
37    [ compile-fail variant_rvalue_get_with_ampersand_test.cpp ]
38    [ compile-fail no_rvalue_to_nonconst_visitation.cpp ]
39    [ run variant_polymorphic_get_test.cpp ]
40    [ run variant_multivisit_test.cpp ]
41    [ run hash_variant_test.cpp ]
42    [ run rvalue_test.cpp ]
43    [ run variant_nonempty_check.cpp ]
44    [ run recursive_variant_test.cpp : : : <define>BOOST_NO_EXCEPTIONS
45      <toolset>gcc-4.3:<cxxflags>-fno-exceptions
46      <toolset>gcc-4.4:<cxxflags>-fno-exceptions
47      <toolset>gcc-4.5:<cxxflags>-fno-exceptions
48      <toolset>gcc-4.6:<cxxflags>-fno-exceptions
49      <toolset>gcc-4.7:<cxxflags>-fno-exceptions
50      <toolset>gcc-4.8:<cxxflags>-fno-exceptions
51      <toolset>clang:<cxxflags>-fno-exceptions
52      : variant_noexcept_test
53    ]
54    [ run recursive_variant_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_no_rtti_test ]
55    [ run hash_recursive_variant_test.cpp ]
56    [ run variant_swap_test.cpp ]
57    [ run auto_visitors.cpp ]
58    [ run issue42.cpp ]
59    [ run issue53.cpp ]
60    [ run overload_selection.cpp ]
61    [ run recursive_wrapper_move_test.cpp ]
62    [ run variant_over_joint_view_test.cpp ]
63    [ run const_ref_apply_visitor.cpp ]
64   ;
65
66
67