Files
openmethod/test/Jamfile
Jean-Louis Leroy 666e0c3da1 more b2 fixes
2025-10-21 13:50:46 -04:00

49 lines
1.0 KiB
Plaintext

# Boost.OpenMethod Library Test Jamfile
#
# Copyright 2015-2019 Peter Dimov
#
# Distributed under 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
import-search /boost/config/checks ;
import testing ;
import config : requires ;
project
: requirements
[ requires cxx11_variadic_templates cxx11_template_aliases cxx11_decltype cxx11_hdr_tuple ]
<library>/boost/openmethod//boost_openmethod
<warnings>extra
# <toolset>msvc:<warnings-as-errors>on
# <toolset>gcc:<warnings-as-errors>on
# <toolset>clang:<warnings-as-errors>on
;
alias unit_test_framework
: # sources
/boost/test//boost_unit_test_framework
;
for local src in [ glob test_*.cpp ]
{
run $(src) unit_test_framework ;
}
run mix_release_debug/main.cpp mix_release_debug/lib.cpp unit_test_framework ;
for local src in [ glob compile_fail_*.cpp ]
{
compile-fail $(src) ;
}
# quick (for CI)
alias quick : test_dispatch ;
explicit quick ;