2003-09-30 07:42:34 +00:00
|
|
|
# Boost.SmartPtr Library test Jamfile
|
|
|
|
|
#
|
2013-12-12 01:22:51 +02:00
|
|
|
# Copyright (c) 2003-2013 Peter Dimov
|
2003-09-30 07:42:34 +00:00
|
|
|
# Copyright (c) 2003 Dave Abrahams
|
|
|
|
|
#
|
2006-11-09 20:17:14 +00:00
|
|
|
# Distributed under the Boost Software License, Version 1.0. (See
|
|
|
|
|
# accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
|
# http://www.boost.org/LICENSE_1_0.txt)
|
2003-09-30 07:42:34 +00:00
|
|
|
|
|
|
|
|
# bring in rules for testing
|
|
|
|
|
import testing ;
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
test-suite "smart_ptr"
|
|
|
|
|
: [ run smart_ptr_test.cpp ]
|
2004-06-10 12:31:20 +00:00
|
|
|
[ run shared_ptr_basic_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ]
|
2003-09-30 07:42:34 +00:00
|
|
|
[ run shared_ptr_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ]
|
|
|
|
|
[ run weak_ptr_test.cpp ]
|
2009-05-12 16:18:15 +00:00
|
|
|
[ run weak_ptr_move_test.cpp ]
|
2003-09-30 07:42:34 +00:00
|
|
|
[ run shared_from_this_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-non-virtual-dtor ]
|
|
|
|
|
[ run get_deleter_test.cpp ]
|
|
|
|
|
[ run intrusive_ptr_test.cpp ]
|
2009-05-12 16:18:15 +00:00
|
|
|
[ run intrusive_ptr_move_test.cpp ]
|
2013-08-31 19:54:11 +00:00
|
|
|
[ run intrusive_ref_counter_test.cpp ]
|
2005-03-20 15:40:30 +00:00
|
|
|
[ run atomic_count_test.cpp ]
|
2005-04-02 12:51:17 +00:00
|
|
|
[ run lw_mutex_test.cpp ]
|
2003-09-30 07:42:34 +00:00
|
|
|
[ compile-fail shared_ptr_assign_fail.cpp ]
|
2005-03-30 22:06:25 +00:00
|
|
|
[ compile-fail shared_ptr_delete_fail.cpp ]
|
2006-07-11 23:17:17 +00:00
|
|
|
[ compile-fail shared_ptr_compare_fail.cpp ]
|
2005-11-11 21:07:18 +00:00
|
|
|
[ run shared_ptr_alloc2_test.cpp ]
|
2005-12-06 13:26:13 +00:00
|
|
|
[ run pointer_cast_test.cpp ]
|
|
|
|
|
[ compile pointer_to_other_test.cpp ]
|
2006-01-15 13:55:37 +00:00
|
|
|
[ run auto_ptr_rv_test.cpp ]
|
2007-04-09 18:48:47 +00:00
|
|
|
[ run shared_ptr_alias_test.cpp ]
|
2007-04-28 15:49:13 +00:00
|
|
|
[ run shared_ptr_rv_test.cpp ]
|
|
|
|
|
[ run shared_ptr_move_test.cpp ]
|
2007-05-23 23:22:45 +00:00
|
|
|
[ compile-fail shared_ptr_pv_fail.cpp ]
|
2007-07-04 16:35:44 +00:00
|
|
|
[ run sp_unary_addr_test.cpp ]
|
2008-02-19 14:01:13 +00:00
|
|
|
[ compile-fail scoped_ptr_eq_fail.cpp ]
|
|
|
|
|
[ compile-fail scoped_array_eq_fail.cpp ]
|
2008-03-19 19:39:50 +00:00
|
|
|
[ run esft_regtest.cpp ]
|
2008-03-27 22:20:11 +00:00
|
|
|
[ run yield_k_test.cpp ]
|
2008-04-06 16:23:42 +00:00
|
|
|
[ run yield_k_test.cpp : : : <threading>multi : yield_k_test.mt ]
|
2008-03-30 16:33:58 +00:00
|
|
|
[ run spinlock_test.cpp ]
|
2008-04-05 15:06:31 +00:00
|
|
|
[ run spinlock_try_test.cpp ]
|
2008-04-06 16:23:42 +00:00
|
|
|
[ run spinlock_try_test.cpp : : : <threading>multi : spinlock_try_test.mt ]
|
2008-04-06 16:53:11 +00:00
|
|
|
[ run spinlock_pool_test.cpp ]
|
2008-05-01 16:50:39 +00:00
|
|
|
[ run make_shared_test.cpp ]
|
2009-11-09 18:12:35 +00:00
|
|
|
[ run make_shared_perfect_forwarding_test.cpp ]
|
2012-11-07 15:07:08 +00:00
|
|
|
[ run shared_ptr_convertible_test.cpp ]
|
2008-05-03 15:07:58 +00:00
|
|
|
[ run wp_convertible_test.cpp ]
|
|
|
|
|
[ run ip_convertible_test.cpp ]
|
2008-05-03 19:29:01 +00:00
|
|
|
[ run allocate_shared_test.cpp ]
|
2009-02-28 21:08:25 +00:00
|
|
|
[ run sp_atomic_test.cpp ]
|
2009-03-03 19:25:26 +00:00
|
|
|
[ run esft_void_test.cpp ]
|
|
|
|
|
[ run esft_second_ptr_test.cpp ]
|
|
|
|
|
[ run make_shared_esft_test.cpp ]
|
|
|
|
|
[ run allocate_shared_esft_test.cpp ]
|
2009-03-07 22:21:56 +00:00
|
|
|
[ run sp_recursive_assign_test.cpp ]
|
|
|
|
|
[ run sp_recursive_assign2_test.cpp ]
|
|
|
|
|
[ run sp_recursive_assign_rv_test.cpp ]
|
|
|
|
|
[ run sp_recursive_assign2_rv_test.cpp ]
|
2009-03-22 21:11:17 +00:00
|
|
|
[ run esft_constructor_test.cpp ]
|
2009-11-05 21:41:38 +00:00
|
|
|
[ run enable_shared_from_raw_test.cpp ]
|
2009-04-17 19:51:18 +00:00
|
|
|
[ compile-fail auto_ptr_lv_fail.cpp ]
|
2009-04-17 20:24:01 +00:00
|
|
|
[ run atomic_count_test2.cpp ]
|
2009-12-03 20:31:01 +00:00
|
|
|
[ run sp_typeinfo_test.cpp ]
|
2010-05-26 18:18:10 +00:00
|
|
|
[ compile make_shared_fp_test.cpp ]
|
2011-02-24 23:24:54 +00:00
|
|
|
[ run sp_hash_test.cpp ]
|
2011-11-07 18:19:24 +00:00
|
|
|
[ run get_deleter_array_test.cpp ]
|
2011-11-07 18:46:46 +00:00
|
|
|
[ run ip_hash_test.cpp ]
|
2011-12-23 03:00:05 +00:00
|
|
|
[ run owner_less_test.cpp ]
|
2012-10-31 22:16:20 +00:00
|
|
|
[ run sp_unique_ptr_test.cpp ]
|
2012-11-02 17:41:33 +00:00
|
|
|
[ run sp_array_test.cpp ]
|
2012-11-03 14:49:45 +00:00
|
|
|
[ compile sp_array_cv_test.cpp ]
|
2012-11-07 15:33:44 +00:00
|
|
|
[ run sp_convertible_test.cpp ]
|
2012-11-08 18:07:49 +00:00
|
|
|
[ run sp_array_n_test.cpp ]
|
2012-11-21 17:43:48 +00:00
|
|
|
[ run sp_array_cast_test.cpp ]
|
2012-12-08 00:51:59 +00:00
|
|
|
[ run sp_zero_compare_test.cpp ]
|
|
|
|
|
[ run sp_nullptr_test.cpp ]
|
2013-12-12 01:22:51 +02:00
|
|
|
[ run sa_nullptr_test.cpp ]
|
2014-02-05 00:17:34 +02:00
|
|
|
[ run shared_ptr_alloc3_test.cpp ]
|
|
|
|
|
[ run shared_ptr_alloc11_test.cpp ]
|
|
|
|
|
[ run allocate_shared_alloc11_test.cpp ]
|
2014-02-05 02:31:33 +02:00
|
|
|
[ run allocate_shared_construct11_test.cpp ]
|
2014-02-12 20:48:35 +02:00
|
|
|
[ run sp_interlocked_test.cpp ]
|
2012-11-02 17:41:33 +00:00
|
|
|
|
|
|
|
|
[ compile-fail array_fail_spa_sp_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_spa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_spa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wp_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_wpa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wpa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wp_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wp_wpa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wpa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_ap_spa_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_upa_sp_c.cpp ]
|
|
|
|
|
[ compile-fail array_fail_up_spa_c.cpp ]
|
|
|
|
|
|
|
|
|
|
[ compile-fail array_fail_spa_sp_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_spa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_spa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wp_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_wpa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wpa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wp_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wp_wpa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wpa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_ap_spa_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_upa_sp_mc.cpp ]
|
|
|
|
|
[ compile-fail array_fail_up_spa_mc.cpp ]
|
|
|
|
|
|
|
|
|
|
[ compile-fail array_fail_spa_sp_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_spa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_spa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wp_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_wpa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wpa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wp_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wp_wpa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wpa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_ap_spa_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_upa_sp_a.cpp ]
|
|
|
|
|
[ compile-fail array_fail_up_spa_a.cpp ]
|
|
|
|
|
|
|
|
|
|
[ compile-fail array_fail_spa_sp_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_spa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_spa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wp_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_sp_wpa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_spa_wpa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wp_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wp_wpa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_wpa_wpa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_ap_spa_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_upa_sp_ma.cpp ]
|
|
|
|
|
[ compile-fail array_fail_up_spa_ma.cpp ]
|
|
|
|
|
|
|
|
|
|
[ compile-fail array_fail_dereference.cpp ]
|
|
|
|
|
[ compile-fail array_fail_member_access.cpp ]
|
|
|
|
|
[ compile-fail array_fail_array_access.cpp ]
|
2012-11-08 05:33:52 +00:00
|
|
|
|
2012-11-06 14:35:40 +00:00
|
|
|
[ run make_shared_array_test.cpp ]
|
2014-01-23 20:40:46 -08:00
|
|
|
[ run make_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ]
|
2012-11-06 14:35:40 +00:00
|
|
|
[ run make_shared_array_throws_test.cpp ]
|
|
|
|
|
[ run make_shared_array_esft_test.cpp ]
|
2014-01-23 20:40:46 -08:00
|
|
|
[ run make_shared_array_noinit_test.cpp ]
|
|
|
|
|
[ run make_shared_array_value_test.cpp ]
|
2012-11-06 14:35:40 +00:00
|
|
|
[ run allocate_shared_array_test.cpp ]
|
2014-01-23 20:40:46 -08:00
|
|
|
[ run allocate_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ]
|
2012-11-06 14:35:40 +00:00
|
|
|
[ run allocate_shared_array_throws_test.cpp ]
|
|
|
|
|
[ run allocate_shared_array_esft_test.cpp ]
|
2014-01-23 20:40:46 -08:00
|
|
|
[ run allocate_shared_array_noinit_test.cpp ]
|
|
|
|
|
[ run allocate_shared_array_value_test.cpp ]
|
2014-02-05 00:29:18 +02:00
|
|
|
[ run allocate_shared_array_construct_test.cpp ]
|
2014-01-28 03:58:51 -08:00
|
|
|
|
|
|
|
|
[ run make_unique_test.cpp ]
|
|
|
|
|
[ run make_unique_args_test.cpp ]
|
2014-01-29 16:33:32 -08:00
|
|
|
[ run make_unique_value_test.cpp ]
|
2014-01-28 03:58:51 -08:00
|
|
|
[ run make_unique_noinit_test.cpp ]
|
|
|
|
|
[ run make_unique_throws_test.cpp ]
|
|
|
|
|
[ run make_unique_array_test.cpp ]
|
|
|
|
|
[ run make_unique_array_noinit_test.cpp ]
|
|
|
|
|
[ run make_unique_array_throws_test.cpp ]
|
2003-09-30 07:42:34 +00:00
|
|
|
;
|
|
|
|
|
}
|