]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/accumulators/test/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[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 <cxxflags>"-Wno-deprecated-declarations"
28 <library>/boost/serialization
29 ;
30
31 alias accumulators_regular_tests
32 : [ run count.cpp ]
33 [ run covariance.cpp ]
34 [ run droppable.cpp ]
35 [ run error_of.cpp ]
36 [ run extended_p_square.cpp ]
37 [ run extended_p_square_quantile.cpp ]
38 [ run external_accumulator.cpp ]
39 [ run external_weights.cpp ]
40 [ run kurtosis.cpp ]
41 [ run max.cpp ]
42 [ run mean.cpp ]
43 [ run median.cpp ]
44 [ run min.cpp ]
45 [ run moment.cpp ]
46 [ run p_square_cumul_dist.cpp ]
47 [ run p_square_quantile.cpp ]
48 [ run reference.cpp ]
49 [ run rolling_count.cpp ]
50 [ run rolling_sum.cpp ]
51 [ run rolling_mean.cpp ]
52 [ run rolling_variance.cpp ]
53 [ run rolling_moment.cpp ]
54 [ run skewness.cpp ]
55 [ run sum.cpp ]
56 [ run sum_kahan.cpp ]
57 [ run tail.cpp ]
58 [ run tail_mean.cpp ]
59 [ run tail_quantile.cpp ]
60 [ run variance.cpp ]
61 [ run vector.cpp ]
62 [ run weighted_covariance.cpp ]
63 [ run weighted_extended_p_square.cpp ]
64 [ run weighted_kurtosis.cpp ]
65 [ run weighted_mean.cpp ]
66 [ run weighted_median.cpp ]
67 [ run weighted_moment.cpp ]
68 [ run weighted_p_square_cumul_dist.cpp ]
69 [ run weighted_p_square_quantile.cpp ]
70 [ run weighted_skewness.cpp ]
71 [ run weighted_sum.cpp ]
72 [ run weighted_sum_kahan.cpp ]
73 [ run weighted_variance.cpp ]
74 ;
75
76 alias accumulators_test_valarray
77 :
78 : <target-os>linux
79 <toolset>clang
80 # TODO: Find the correct attribute that detects libc++.
81 ;
82
83 alias accumulators_test_valarray
84 :
85 : <target-os>darwin
86 ;
87
88 alias accumulators_test_valarray
89 : [ run valarray.cpp ]
90 ;
91
92 alias accumulators_test_tail_variate_means
93 :
94 : <toolset>msvc
95 <toolset-msvc:version>14.0
96 ;
97
98 alias accumulators_test_tail_variate_means
99 : [ run tail_variate_means.cpp ]
100 ;
101
102 alias accumulators_tests_pot_quantile_and_weighted_tail
103 :
104 : <target-os>linux
105 <toolset>gcc
106 <toolset-gcc:version>4.4.7
107 ;
108
109 alias accumulators_tests_pot_quantile_and_weighted_tail
110 : [ run pot_quantile.cpp ]
111 [ run weighted_pot_quantile.cpp ]
112 [ run weighted_tail_mean.cpp ]
113 [ run weighted_tail_quantile.cpp ]
114 ;
115
116 alias accumulators_test_weighted_tail_variate_means
117 :
118 : <target-os>linux
119 <toolset>gcc
120 <toolset-gcc:version>4.4.7
121 ;
122
123 alias accumulators_test_weighted_tail_variate_means
124 :
125 : <toolset>msvc
126 <toolset-msvc:version>14.0
127 ;
128
129 alias accumulators_test_weighted_tail_variate_means
130 : [ run weighted_tail_variate_means.cpp ]
131 ;
132
133 test-suite "accumulators"
134 : accumulators_regular_tests
135 accumulators_test_valarray
136 accumulators_test_tail_variate_means
137 accumulators_tests_pot_quantile_and_weighted_tail
138 accumulators_test_weighted_tail_variate_means
139 ;