]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/accumulators/test/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / accumulators / test / Jamfile.v2
1 # (C) Copyright 2005: Eric Niebler
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5 # bring in rules for testing
6 import testing ;
7 import feature ;
8
9 feature.feature iterator_debugging
10 : on off
11 : composite propagated optional
12 ;
13
14 feature.compose <iterator_debugging>off
15 : <define>_HAS_ITERATOR_DEBUGGING=0
16 ;
17
18 project
19 : requirements
20 <library>/boost/test//boost_unit_test_framework
21 <link>static
22 <include>../../..
23 <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
24 # MSVC's iterator debugging causes some tests to run forever.
25 <toolset>msvc:<iterator_debugging>off
26 <toolset>intel-win:<iterator_debugging>off
27 <toolset>gcc:<cxxflags>"-Wno-deprecated-declarations"
28 <toolset>clang:<cxxflags>"-Wno-deprecated-declarations"
29 <toolset>intel-linux:<cxxflags>"-Wno-deprecated-declarations"
30 <library>/boost/serialization
31 ;
32
33 alias accumulators_regular_tests
34 : [ run count.cpp ]
35 [ run covariance.cpp ]
36 [ run droppable.cpp ]
37 [ run error_of.cpp ]
38 [ run extended_p_square.cpp ]
39 [ run extended_p_square_quantile.cpp ]
40 [ run external_accumulator.cpp ]
41 [ run external_weights.cpp ]
42 [ run kurtosis.cpp ]
43 [ run max.cpp ]
44 [ run mean.cpp ]
45 [ run median.cpp ]
46 [ run min.cpp ]
47 [ run moment.cpp ]
48 [ run p_square_cumul_dist.cpp ]
49 [ run p_square_quantile.cpp ]
50 [ run reference.cpp ]
51 [ run rolling_count.cpp ]
52 [ run rolling_sum.cpp ]
53 [ run rolling_mean.cpp ]
54 [ run rolling_variance.cpp ]
55 [ run rolling_moment.cpp ]
56 [ run skewness.cpp ]
57 [ run sum.cpp ]
58 [ run sum_kahan.cpp ]
59 [ run tail.cpp ]
60 [ run tail_mean.cpp ]
61 [ run tail_quantile.cpp ]
62 [ run variance.cpp ]
63 [ run vector.cpp ]
64 [ run weighted_covariance.cpp ]
65 [ run weighted_extended_p_square.cpp ]
66 [ run weighted_kurtosis.cpp ]
67 [ run weighted_mean.cpp ]
68 [ run weighted_median.cpp ]
69 [ run weighted_moment.cpp ]
70 [ run weighted_p_square_cumul_dist.cpp ]
71 [ run weighted_p_square_quantile.cpp ]
72 [ run weighted_skewness.cpp ]
73 [ run weighted_sum.cpp ]
74 [ run weighted_sum_kahan.cpp ]
75 [ run weighted_variance.cpp ]
76 ;
77
78 alias accumulators_test_valarray
79 :
80 : <target-os>linux
81 <toolset>clang
82 # TODO: Find the correct attribute that detects libc++.
83 ;
84
85 alias accumulators_test_valarray
86 :
87 : <target-os>darwin
88 ;
89
90 alias accumulators_test_valarray
91 : [ run valarray.cpp ]
92 ;
93
94 alias accumulators_test_tail_variate_means
95 :
96 : <toolset>msvc
97 <toolset-msvc:version>14.0
98 ;
99
100 alias accumulators_test_tail_variate_means
101 : [ run tail_variate_means.cpp ]
102 ;
103
104 alias accumulators_tests_pot_quantile_and_weighted_tail
105 :
106 : <target-os>linux
107 <toolset>gcc
108 <toolset-gcc:version>4.4.7
109 ;
110
111 alias accumulators_tests_pot_quantile_and_weighted_tail
112 : [ run pot_quantile.cpp ]
113 [ run weighted_pot_quantile.cpp ]
114 [ run weighted_tail_mean.cpp ]
115 [ run weighted_tail_quantile.cpp ]
116 ;
117
118 alias accumulators_test_weighted_tail_variate_means
119 :
120 : <target-os>linux
121 <toolset>gcc
122 <toolset-gcc:version>4.4.7
123 ;
124
125 alias accumulators_test_weighted_tail_variate_means
126 :
127 : <toolset>msvc
128 <toolset-msvc:version>14.0
129 ;
130
131 alias accumulators_test_weighted_tail_variate_means
132 : [ run weighted_tail_variate_means.cpp ]
133 ;
134
135 test-suite "accumulators"
136 : accumulators_regular_tests
137 accumulators_test_valarray
138 accumulators_test_tail_variate_means
139 accumulators_tests_pot_quantile_and_weighted_tail
140 accumulators_test_weighted_tail_variate_means
141 ;