2003-01-25 16:17:17 +00:00
|
|
|
# Boost.SmartPtr Library test Jamfile
|
|
|
|
|
|
|
|
|
|
subproject libs/smart_ptr/test ;
|
|
|
|
|
|
|
|
|
|
# bring in rules for testing
|
|
|
|
|
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
|
|
|
|
include testing.jam ;
|
|
|
|
|
|
|
|
|
|
# Make tests run by default.
|
|
|
|
|
DEPENDS all : test ;
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
# 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 ]
|
2003-01-27 14:09:21 +00:00
|
|
|
[ run libs/smart_ptr/test/intrusive_ptr_test.cpp ]
|
2003-01-25 16:17:17 +00:00
|
|
|
[ compile-fail libs/smart_ptr/test/shared_ptr_assign_fail.cpp ]
|
|
|
|
|
;
|
|
|
|
|
}
|