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 11import testing ; 12import ../../config/checks/config : requires ; 13import ../../predef/tools/check/predef : check require : predef-check predef-require ; 14 15project 16 : requirements 17 [ requires cxx14_variable_templates cxx14_constexpr ] 18 [ predef-require "!BOOST_COMP_GNUC" or "BOOST_COMP_GNUC >= 6.0" ] 19 [ predef-require "!BOOST_COMP_CLANG" or "BOOST_COMP_CLANG >= 4.0" ] 20 <define>BOOST_TEST_MODULE=Outcome 21 <library>../../test/build//boost_unit_test_framework 22 ; 23 24{ 25 test-suite outcome : 26 27 [ compile-fail compile-fail/outcome-int-int-1.cpp ] 28 [ compile-fail compile-fail/result-int-int-1.cpp ] 29 [ compile-fail compile-fail/result-int-int-2.cpp ] 30 31 [ run tests/comparison.cpp ] 32 [ run tests/constexpr.cpp ] 33 [ run tests/containers.cpp ] 34 [ run tests/core-outcome.cpp ] 35 [ run tests/core-result.cpp ] 36 [ run tests/default-construction.cpp ] 37 [ run tests/experimental-core-outcome-status.cpp ] 38 [ run tests/experimental-core-result-status.cpp ] 39 [ run tests/experimental-p0709a.cpp ] 40 [ run tests/fileopen.cpp ] 41 [ run tests/hooks.cpp ] 42 [ run tests/issue0007.cpp ] 43 [ run tests/issue0009.cpp ] 44 [ run tests/issue0010.cpp ] 45 [ run tests/issue0012.cpp ] 46 [ run tests/issue0016.cpp ] 47 [ run tests/issue0059.cpp ] 48 [ run tests/issue0061.cpp ] 49 [ run tests/issue0064.cpp ] 50 [ run tests/issue0065.cpp ] 51 [ run tests/issue0071.cpp ] 52 [ run tests/issue0095.cpp ] 53 [ run tests/issue0115.cpp ] 54 [ run tests/issue0116.cpp ] 55 [ run tests/issue0140.cpp ] 56 [ run tests/noexcept-propagation.cpp ] 57 [ run tests/propagate.cpp ] 58 [ run tests/serialisation.cpp ] 59 [ run tests/success-failure.cpp ] 60 [ run tests/swap.cpp ] 61 [ run tests/udts.cpp ] 62 [ run tests/value-or-error.cpp ] 63 64 [ run expected-pass.cpp ] 65 66 ; 67} 68