# test/Jamfile.v2 controls building of MSM Library unit tests # # Copyright (c) 2010 Christophe Henry # # Use, modification and distribution is subject to the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) require-b2 5.2 ; # bring in rules for testing import testing ; import os ; import-search /boost/config/checks ; import config : requires ; project : requirements /boost/msm//boost_msm . gcc:"-ftemplate-depth-300 -g0" darwin:"-ftemplate-depth-300 -g0" intel:"-g0" gcc:off darwin:off intel:off /boost/test//boost_unit_test_framework/static /boost/serialization//boost_serialization/static ; test-suite msm-unit-tests : [ run Anonymous.cpp ] [ run AnonymousAndGuard.cpp ] [ run AnonymousEuml.cpp ] [ run Back11CompositeMachine.cpp ] [ run BigWithFunctors.cpp ] # MSVC 32-bit runs out of memory when compiling this test [ run CompositeEuml.cpp : : : msvc-14.3,32:no ] [ run CompositeMachine.cpp ] [ run Constructor.cpp ] [ run Entries.cpp ] [ run EventQueue.cpp ] [ run History.cpp ] [ run KleeneDeferred.cpp ] [ run ManyDeferTransitions.cpp ] [ run OrthogonalDeferred.cpp ] [ run OrthogonalDeferred2.cpp ] [ run OrthogonalDeferred3.cpp ] # MSVC 32-bit runs out of memory when compiling this test [ run OrthogonalDeferredEuml.cpp : : : msvc-14.3,32:no ] # GCC has a bug in std::type_info::before() that leads to a segfault. # Only observable on Windows, though (https://github.com/boostorg/msm/issues/114). [ run Serialize.cpp : : : gcc,windows:no ] [ run SerializeSimpleEuml.cpp : : : gcc,windows:no ] [ run SerializeWithHistory.cpp : : : gcc,windows:no ] [ run SetStates.cpp ] [ run SimpleEuml.cpp ] [ run SimpleEuml2.cpp ] [ run SimpleInternal.cpp ] [ run SimpleInternalEuml.cpp ] [ run SimpleInternalFunctors.cpp ] [ run SimpleMachine.cpp ] [ run SimpleWithFunctors.cpp ] [ run Test2RegionsAnonymous.cpp ] [ run TestConstructor.cpp ] [ run TestConstructorMovableOnlyTypes.cpp ] [ run TestDeferAndMessageQueue.cpp ] [ run TestDeferAndMessageQueue2.cpp ] [ run TestDeferAndMessageQueue3.cpp ] [ run TestDeferIn2Regions.cpp ] [ run Throwing.cpp ] [ run TransitionSkipping.cpp ] ; test-suite msm-unit-tests-cxxstd17 : [ run Backmp11Constructor.cpp ] [ run Backmp11Context.cpp ] [ run Backmp11Deferred.cpp ] [ run Backmp11EntryExit.cpp ] [ run Backmp11ManyDeferTransitions.cpp ] [ run Backmp11RootSm.cpp ] [ run Backmp11Transitions.cpp ] [ run Backmp11Visitor.cpp ] : 17 ; test-suite msm-unit-tests-cxxstd20 : # MSVC 32-bit runs out of memory when compiling this test [ run Back11OrthogonalDeferred3WithPuml.cpp : : : msvc-14.3,32:no ] [ run OnlyStringPuml.cpp ] [ run puml_syntax.cpp ] [ run puml_syntax_2.cpp ] [ run SimpleWithPuml.cpp ] [ run SimpleInternalWithPuml.cpp ] [ run StringTerminatePuml.cpp ] : 20 # Clang 11 and 12 don't support lambdas in unevaluated contexts clang-11:no clang-12:no # gcc-9 doesn't support cxxstd=20 gcc-9:no ;