mirror of
https://github.com/boostorg/openmethod.git
synced 2026-01-19 04:22:12 +00:00
49 lines
1.0 KiB
Plaintext
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/open_method//boost_open_method
|
|
|
|
<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 ;
|