Jamfile.v2 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Boost.Outcome Library test Jamfile
  2. #
  3. # Copyright (C) 2017-2019 Niall Douglas
  4. #
  5. # Use, modification, and distribution is subject to the Boost Software
  6. # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. # http://www.boost.org/LICENSE_1_0.txt)
  8. #
  9. # See http://www.boost.org/libs/outcome for documentation.
  10. import testing ;
  11. import ../../config/checks/config : requires ;
  12. import ../../predef/tools/check/predef : check require : predef-check predef-require ;
  13. project
  14. : requirements
  15. [ requires cxx14_variable_templates cxx14_constexpr ]
  16. [ predef-require "!BOOST_COMP_GNUC" or "BOOST_COMP_GNUC >= 6.0" ]
  17. [ predef-require "!BOOST_COMP_CLANG" or "BOOST_COMP_CLANG >= 4.0" ]
  18. <define>BOOST_TEST_MODULE=Outcome
  19. <library>../../test/build//boost_unit_test_framework
  20. ;
  21. {
  22. test-suite outcome :
  23. [ compile-fail compile-fail/outcome-int-int-1.cpp ]
  24. [ compile-fail compile-fail/result-int-int-1.cpp ]
  25. [ compile-fail compile-fail/result-int-int-2.cpp ]
  26. [ run tests/comparison.cpp ]
  27. [ run tests/constexpr.cpp ]
  28. [ run tests/containers.cpp ]
  29. [ run tests/core-outcome.cpp ]
  30. [ run tests/core-result.cpp ]
  31. [ run tests/default-construction.cpp ]
  32. [ run tests/experimental-core-outcome-status.cpp ]
  33. [ run tests/experimental-core-result-status.cpp ]
  34. [ run tests/experimental-p0709a.cpp ]
  35. [ run tests/fileopen.cpp ]
  36. [ run tests/hooks.cpp ]
  37. [ run tests/issue0007.cpp ]
  38. [ run tests/issue0009.cpp ]
  39. [ run tests/issue0010.cpp ]
  40. [ run tests/issue0012.cpp ]
  41. [ run tests/issue0016.cpp ]
  42. [ run tests/issue0059.cpp ]
  43. [ run tests/issue0061.cpp ]
  44. [ run tests/issue0064.cpp ]
  45. [ run tests/issue0065.cpp ]
  46. [ run tests/issue0071.cpp ]
  47. [ run tests/issue0095.cpp ]
  48. [ run tests/issue0115.cpp ]
  49. [ run tests/issue0116.cpp ]
  50. [ run tests/issue0140.cpp ]
  51. [ run tests/noexcept-propagation.cpp ]
  52. [ run tests/propagate.cpp ]
  53. [ run tests/serialisation.cpp ]
  54. [ run tests/success-failure.cpp ]
  55. [ run tests/swap.cpp ]
  56. [ run tests/udts.cpp ]
  57. [ run tests/value-or-error.cpp ]
  58. [ run expected-pass.cpp ]
  59. ;
  60. }