Moved smart_ptr contents to subdirectories, switched to a local test/Jamfile.

[SVN r17042]
This commit is contained in:
Peter Dimov
2003-01-25 16:17:17 +00:00
parent d030182e87
commit abb0d9e725
20 changed files with 25 additions and 0 deletions

25
test/Jamfile Normal file
View File

@ -0,0 +1,25 @@
# 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 ]
[ compile-fail libs/smart_ptr/test/shared_ptr_assign_fail.cpp ]
;
}