# 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 : : : <*>-Wno-non-virtual-dtor ] [ run libs/smart_ptr/test/shared_ptr_test.cpp : : : <*>-Wno-non-virtual-dtor ] [ run libs/smart_ptr/test/weak_ptr_test.cpp ] [ run libs/smart_ptr/test/shared_from_this_test.cpp : : : <*>-Wno-non-virtual-dtor ] [ run libs/smart_ptr/test/get_deleter_test.cpp ] [ compile-fail libs/smart_ptr/test/shared_ptr_assign_fail.cpp ] ; }