summaryrefslogtreecommitdiff
path: root/libs/smart_ptr/test/Jamfile.v2
blob: b17e55f19f93e83e8512b52fa415d3a3d26827d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#  Boost.SmartPtr Library test Jamfile
#
#  Copyright (c) 2003-2013 Peter Dimov
#  Copyright (c) 2003 Dave Abrahams
#
#  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)

# 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 weak_ptr_move_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 ]
          [ run intrusive_ptr_move_test.cpp ]
          [ run intrusive_ref_counter_test.cpp ]
          [ run atomic_count_test.cpp ]
          [ run lw_mutex_test.cpp ]
          [ compile-fail shared_ptr_assign_fail.cpp ]
          [ compile-fail shared_ptr_delete_fail.cpp ]
          [ compile-fail shared_ptr_compare_fail.cpp ]
          [ run shared_ptr_alloc2_test.cpp ]
          [ run pointer_cast_test.cpp ]
          [ compile pointer_to_other_test.cpp ]
          [ run auto_ptr_rv_test.cpp ]
          [ run shared_ptr_alias_test.cpp ]
          [ run shared_ptr_rv_test.cpp ]
          [ run shared_ptr_move_test.cpp ]
          [ compile-fail shared_ptr_pv_fail.cpp ]
          [ run sp_unary_addr_test.cpp ]
          [ compile-fail scoped_ptr_eq_fail.cpp ]
          [ compile-fail scoped_array_eq_fail.cpp ]
          [ run esft_regtest.cpp ]
          [ run yield_k_test.cpp ]
          [ run yield_k_test.cpp : : : <threading>multi : yield_k_test.mt ]
          [ run spinlock_test.cpp ]
          [ run spinlock_try_test.cpp ]
          [ run spinlock_try_test.cpp : : : <threading>multi : spinlock_try_test.mt ]
          [ run spinlock_pool_test.cpp ]
          [ run make_shared_test.cpp ]
          [ run make_shared_perfect_forwarding_test.cpp ]
          [ run shared_ptr_convertible_test.cpp ]
          [ run wp_convertible_test.cpp ]
          [ run ip_convertible_test.cpp ]
          [ run allocate_shared_test.cpp ]
          [ run sp_atomic_test.cpp ]
          [ run esft_void_test.cpp ]
          [ run esft_second_ptr_test.cpp ]
          [ run make_shared_esft_test.cpp ]
          [ run allocate_shared_esft_test.cpp ]
          [ 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 ]
          [ compile-fail auto_ptr_lv_fail.cpp ]
          [ run atomic_count_test2.cpp ]
          [ run sp_typeinfo_test.cpp ]
          [ compile make_shared_fp_test.cpp ]
          [ run sp_hash_test.cpp ]
          [ run get_deleter_array_test.cpp ]
          [ run ip_hash_test.cpp ]
          [ run owner_less_test.cpp ]
          [ run sp_unique_ptr_test.cpp ]
          [ run sp_array_test.cpp ]
          [ compile sp_array_cv_test.cpp ]
          [ run sp_convertible_test.cpp ]
          [ run sp_array_n_test.cpp ]
          [ run sp_array_cast_test.cpp ]
          [ run sp_zero_compare_test.cpp ]
          [ run sp_nullptr_test.cpp ]
          [ run sa_nullptr_test.cpp ]
          [ run shared_ptr_alloc3_test.cpp ]
          [ run shared_ptr_alloc11_test.cpp ]
          [ run allocate_shared_alloc11_test.cpp ]
          [ run allocate_shared_construct11_test.cpp ]
          [ run sp_interlocked_test.cpp ]

          [ 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 ]

          [ run make_shared_array_test.cpp ]
          [ run make_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ]
          [ run make_shared_array_throws_test.cpp ]
          [ run make_shared_array_esft_test.cpp ]
          [ run make_shared_array_noinit_test.cpp ]
          [ run make_shared_array_value_test.cpp ]
          [ run allocate_shared_array_test.cpp ]
          [ run allocate_shared_arrays_test.cpp : : : <toolset>gcc-4.6.3_0x:<cxxflags>-fno-deduce-init-list ]
          [ run allocate_shared_array_throws_test.cpp ]
          [ run allocate_shared_array_esft_test.cpp ]
          [ run allocate_shared_array_noinit_test.cpp ]
          [ run allocate_shared_array_value_test.cpp ]
          [ run allocate_shared_array_construct_test.cpp ]

          [ run make_unique_test.cpp ]
          [ run make_unique_args_test.cpp ]
          [ run make_unique_value_test.cpp ]
          [ 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 ]

          [ run shared_from_raw_test.cpp ]
          [ run shared_from_raw_test2.cpp ]
          [ run shared_from_raw_test3.cpp ]
          [ run shared_from_raw_test4.cpp ]
          [ run shared_from_raw_test5.cpp ]
          [ run shared_from_raw_test6.cpp ]

          [ run weak_from_raw_test.cpp ]
          [ run weak_from_raw_test2.cpp ]
          [ run weak_from_raw_test3.cpp ]
          [ run weak_from_raw_test4.cpp ]
          [ run weak_from_raw_test5.cpp ]

          [ compile sp_explicit_inst_test.cpp ]

          [ run weak_from_this_test.cpp ]
          [ run weak_from_this_test2.cpp ]
        ;
}