Jamfile.v2 2.4 KB

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