cleanup, add shared_ptr_alloc_test.

[SVN r17095]
This commit is contained in:
Dave Abrahams
2003-01-30 18:20:51 +00:00
parent ddf1f0fdcc
commit d2c7febd26

View File

@ -7,20 +7,28 @@ SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
include testing.jam ; include testing.jam ;
# Make tests run by default. # 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" test-suite "smart_ptr"
: [ run libs/smart_ptr/test/smart_ptr_test.cpp ] : [ run smart_ptr_test.cpp ]
[ run libs/smart_ptr/test/shared_ptr_basic_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ] [ run 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 shared_ptr_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
[ run libs/smart_ptr/test/weak_ptr_test.cpp ] [ run weak_ptr_test.cpp ]
[ run libs/smart_ptr/test/shared_from_this_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ] [ run shared_from_this_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
[ run libs/smart_ptr/test/get_deleter_test.cpp ] [ run get_deleter_test.cpp ]
[ run libs/smart_ptr/test/intrusive_ptr_test.cpp ] [ run intrusive_ptr_test.cpp ]
[ compile-fail libs/smart_ptr/test/shared_ptr_assign_fail.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 ;
}
} }