Update build.jam, test/Jamfile

This commit is contained in:
Peter Dimov
2024-08-27 19:13:36 +03:00
parent 71902a7bdb
commit 17e299f11e
2 changed files with 28 additions and 21 deletions

View File

@ -1,7 +1,7 @@
# Copyright René Ferdinand Rivera Morell 2023-2024
# Copyright 2023-2024 René Ferdinand Rivera Morell
# Copyright 2024 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)
# https://www.boost.org/LICENSE_1_0.txt
require-b2 5.2 ;
@ -12,18 +12,15 @@ constant boost_dependencies :
/boost/move//boost_move
/boost/static_assert//boost_static_assert
/boost/throw_exception//boost_throw_exception
/boost/type_traits//boost_type_traits ;
project /boost/smart_ptr
: common-requirements
<include>include
/boost/type_traits//boost_type_traits
;
project /boost/smart_ptr ;
explicit
[ alias boost_smart_ptr : : : : <library>$(boost_dependencies) ]
[ alias boost_smart_ptr : : : : <include>include <library>$(boost_dependencies) ]
[ alias all : boost_smart_ptr test ]
;
call-if : boost-library smart_ptr
;

View File

@ -14,15 +14,18 @@ import testing ;
project
: requirements
<library>/boost/align//boost_align
<library>/boost/container_hash//boost_container_hash
<library>/boost/smart_ptr//boost_smart_ptr
<library>/boost/align//boost_align
<toolset>gcc:<cxxflags>-Wno-non-virtual-dtor
<toolset>gcc:<cxxflags>-Wno-deprecated-declarations
#<toolset>gcc:<cxxflags>-Wno-delete-non-virtual-dtor (not in 4.4/4.6)
;
local cnhash = [ requires cxx11_decltype cxx11_noexcept ] <toolset>gcc-4.6:<build>no ;
local cnhash =
<library>/boost/container_hash//boost_container_hash
[ requires cxx11_decltype cxx11_noexcept ]
<toolset>gcc-4.6:<build>no ;
# quick test (for CI)
run quick.cpp ;
@ -84,7 +87,8 @@ run shared_ptr_convertible_test.cpp ;
run wp_convertible_test.cpp ;
run ip_convertible_test.cpp ;
run allocate_shared_test.cpp ;
run sp_atomic_test.cpp : : : <library>/boost/atomic//boost_atomic ;
run sp_atomic_test.cpp
: : : <library>/boost/atomic//boost_atomic ;
run esft_void_test.cpp ;
run esft_second_ptr_test.cpp ;
run make_shared_esft_test.cpp ;
@ -256,7 +260,8 @@ compile make_shared_msvc_test.cpp ;
compile lwm_win32_cs_test.cpp ;
run atomic_sp_test.cpp : : : <library>/boost/atomic//boost_atomic ;
run atomic_sp_test.cpp
: : : <library>/boost/atomic//boost_atomic ;
run sp_constexpr_test.cpp ;
run sp_constexpr_test2.cpp ;
@ -410,22 +415,27 @@ run lsp_hash_test.cpp
: : : $(cnhash) ;
run lsp_hash_test2.cpp ;
local MT = <threading>multi [ requires cxx11_decltype cxx11_noexcept ] <toolset>gcc-4.6:<build>no ;
local MT =
<threading>multi
<library>/boost/bind//boost_bind
[ requires cxx11_decltype cxx11_noexcept ]
<toolset>gcc-4.6:<build>no ;
run atomic_count_mt_test.cpp
: : : $(MT) <library>/boost/bind//boost_bind ;
: : : $(MT) ;
run spinlock_mt_test.cpp
: : : $(MT) <library>/boost/bind//boost_bind ;
: : : $(MT) ;
run spinlock_pool_mt_test.cpp
: : : $(MT) <library>/boost/bind//boost_bind ;
: : : $(MT) ;
run shared_ptr_mt_test.cpp
: : : $(MT) <library>/boost/bind//boost_bind ;
: : : $(MT) ;
run weak_ptr_mt_test.cpp
: : : $(MT) <library>/boost/bind//boost_bind ;
: : : $(MT) ;
compile sp_report_implementation.cpp ;