mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-29 12:27:14 +02:00
Moved smart_ptr contents to subdirectories, switched to a local test/Jamfile.
[SVN r17042]
This commit is contained in:
25
test/Jamfile
Normal file
25
test/Jamfile
Normal 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 ]
|
||||
;
|
||||
}
|
Reference in New Issue
Block a user