]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/swap/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / core / test / swap / Jamfile.v2
1 # Copyright (c) 2007, 2008 Joseph Gauterin
2 #
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
6
7 # bring in rules for testing
8 import testing ;
9
10 local compile_tests =
11 root_header_1.cpp
12 root_header_2.cpp
13 lib_header_1.cpp
14 lib_header_2.cpp
15 mixed_headers_1.cpp
16 mixed_headers_2.cpp
17 ;
18
19 local compile_fail_tests =
20 const_wrapper_fail.cpp ;
21
22 local run_tests =
23 primitive.cpp
24 specialized_in_boost.cpp
25 specialized_in_global.cpp
26 specialized_in_other.cpp
27 specialized_in_std.cpp
28 specialized_in_boost_and_other.cpp
29 std_bitset.cpp
30 std_dateorder.cpp
31 std_string.cpp
32 std_typeinfo_ptr.cpp
33 std_vector_of_boost.cpp
34 std_vector_of_global.cpp
35 std_vector_of_other.cpp
36 no_ambiguity_in_boost.cpp
37 array_of_array_of_class.cpp
38 array_of_array_of_int.cpp
39 array_of_class.cpp
40 array_of_int.cpp
41 array_of_template.cpp
42 ;
43
44 rule test_all
45 {
46 local all_rules ;
47 local file ;
48
49 for file in $(compile_tests)
50 {
51 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
52 all_rules += [ compile $(file) : : "swap-$(test_name)" ] ;
53 }
54
55 for file in $(compile_fail_tests)
56 {
57 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
58 all_rules += [ compile-fail $(file) : : "swap-$(test_name)" ] ;
59 }
60
61 for file in $(run_tests)
62 {
63 local test_name = [ MATCH "([^.]*).cpp$" : $(file) ] ;
64 all_rules += [ run $(file) : : : : "swap-$(test_name)" ] ;
65 }
66
67 #ECHO All rules: $(all_rules) ;
68 return $(all_rules) ;
69 }
70
71 test-suite core/swap : [ test_all r ] ;