mirror of
				https://github.com/boostorg/smart_ptr.git
				synced 2025-10-31 07:41:38 +01:00 
			
		
		
		
	
		
			
	
	
		
			37 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			37 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|   | #  Boost.SmartPtr Library test Jamfile | ||
|  | # | ||
|  | #  Copyright (c) 2003 Peter Dimov | ||
|  | #  Copyright (c) 2003 Dave Abrahams | ||
|  | # | ||
|  | #  Permission to copy, use, modify, sell and distribute this software | ||
|  | #  is granted provided this copyright notice appears in all copies. | ||
|  | #  This software is provided "as is" without express or implied | ||
|  | #  warranty, and with no claim as to its suitability for any purpose. | ||
|  | 
 | ||
|  | # bring in rules for testing | ||
|  | import testing ; | ||
|  | 
 | ||
|  | { | ||
|  |     test-suite "smart_ptr" | ||
|  |         : [ run smart_ptr_test.cpp ] | ||
|  |           [ run shared_ptr_basic_test.cpp : : : <toolset><gcc>:<cxxflags>-Wno-non-virtual-dtor ] | ||
|  |           [ run shared_ptr_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ] | ||
|  |           [ run weak_ptr_test.cpp ] | ||
|  |           [ run shared_from_this_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ] | ||
|  |           [ run get_deleter_test.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 [ in-invocation-subdir ] | ||
|  |     #{ | ||
|  |     #    run shared_ptr_alloc_test.cpp ; | ||
|  |     #} | ||
|  | } |