forked from boostorg/smart_ptr
cleanup, add shared_ptr_alloc_test.
[SVN r17095]
This commit is contained in:
32
test/Jamfile
32
test/Jamfile
@ -7,20 +7,28 @@ SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
||||
include testing.jam ;
|
||||
|
||||
# Make tests run by default.
|
||||
DEPENDS all : test ;
|
||||
DEPENDS all : smart_ptr ;
|
||||
|
||||
{
|
||||
# look in BOOST_ROOT for sources first, just in this Jamfile
|
||||
local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ;
|
||||
|
||||
test-suite "smart_ptr"
|
||||
: [ run libs/smart_ptr/test/smart_ptr_test.cpp ]
|
||||
[ run libs/smart_ptr/test/shared_ptr_basic_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run libs/smart_ptr/test/shared_ptr_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run libs/smart_ptr/test/weak_ptr_test.cpp ]
|
||||
[ run libs/smart_ptr/test/shared_from_this_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run libs/smart_ptr/test/get_deleter_test.cpp ]
|
||||
[ run libs/smart_ptr/test/intrusive_ptr_test.cpp ]
|
||||
[ compile-fail libs/smart_ptr/test/shared_ptr_assign_fail.cpp ]
|
||||
: [ run smart_ptr_test.cpp ]
|
||||
[ run shared_ptr_basic_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run shared_ptr_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run weak_ptr_test.cpp ]
|
||||
[ run shared_from_this_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
|
||||
[ run get_deleter_test.cpp ]
|
||||
[ run intrusive_ptr_test.cpp ]
|
||||
[ run intrusive_ptr_test.cpp ]
|
||||
[ compile-fail shared_ptr_assign_fail.cpp ]
|
||||
;
|
||||
|
||||
# this one is too slow to run unless explicitly requested, and ALL
|
||||
# tests are run by default when this file is subincluded from
|
||||
# boost/status, so it's guarded from that case. It will only be
|
||||
# built from this directory when the targets "test" (all tests) or
|
||||
# "shared_ptr_alloc_test" are requested.
|
||||
if ! $(gIN_LIB_INCLUDE)
|
||||
{
|
||||
run shared_ptr_alloc_test.cpp ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user