]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/random/test/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / random / test / Jamfile.v2
1 # Copyright 2003 Jens Maurer
2 # Copyright 2009-2011 Steven Watanabe
3 # Distributed under the Boost Software License, Version 1.0. (See accompany-
4 # ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 # Boost Random Library test Jamfile
7
8 # bring in rules for testing
9 import testing ;
10
11 project /boost/random/test : requirements <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS ;
12
13 run test_const_mod.cpp /boost//unit_test_framework ;
14 run test_generate_canonical.cpp /boost//unit_test_framework ;
15 run test_random_number_generator.cpp /boost//unit_test_framework ;
16 run ../example/random_demo.cpp ;
17 run test_random_device.cpp /boost//random : : : <link>static : test_random_device ;
18 run test_random_device.cpp /boost//random : : : <link>shared : test_random_device_dll ;
19
20 run test_minstd_rand0.cpp /boost//unit_test_framework ;
21 run test_minstd_rand.cpp /boost//unit_test_framework ;
22 run test_rand48.cpp /boost//unit_test_framework ;
23 run test_mt11213b.cpp /boost//unit_test_framework ;
24 run test_mt19937.cpp /boost//unit_test_framework ;
25 run test_mt19937_64.cpp /boost//unit_test_framework ;
26 run test_mixmax.cpp /boost//unit_test_framework ;
27 run test_ecuyer1988.cpp /boost//unit_test_framework ;
28 run test_hellekalek1995.cpp /boost//unit_test_framework ;
29 run test_linear_feedback_shift.cpp /boost//unit_test_framework ;
30 run test_taus88.cpp /boost//unit_test_framework ;
31 run test_kreutzer1986.cpp /boost//unit_test_framework ;
32 run test_ranlux3.cpp /boost//unit_test_framework ;
33 run test_ranlux4.cpp /boost//unit_test_framework ;
34 run test_ranlux3_01.cpp /boost//unit_test_framework ;
35 run test_ranlux4_01.cpp /boost//unit_test_framework ;
36 run test_ranlux64_4.cpp /boost//unit_test_framework ;
37 run test_ranlux64_3.cpp /boost//unit_test_framework ;
38 run test_ranlux64_3_01.cpp /boost//unit_test_framework ;
39 run test_ranlux64_4_01.cpp /boost//unit_test_framework ;
40 run test_ranlux24_base.cpp /boost//unit_test_framework ;
41 run test_ranlux24.cpp /boost//unit_test_framework ;
42 run test_ranlux48_base.cpp /boost//unit_test_framework ;
43 run test_ranlux48.cpp /boost//unit_test_framework ;
44 run test_knuth_b.cpp /boost//unit_test_framework ;
45 run test_independent_bits31.cpp /boost//unit_test_framework ;
46 run test_independent_bits32.cpp /boost//unit_test_framework ;
47 run test_lagged_fibonacci.cpp /boost//unit_test_framework ;
48 run test_lagged_fibonacci607.cpp /boost//unit_test_framework ;
49 run test_lagged_fibonacci1279.cpp /boost//unit_test_framework ;
50 run test_lagged_fibonacci2281.cpp /boost//unit_test_framework ;
51 run test_lagged_fibonacci3217.cpp /boost//unit_test_framework ;
52 run test_lagged_fibonacci4423.cpp /boost//unit_test_framework ;
53 run test_lagged_fibonacci9689.cpp /boost//unit_test_framework ;
54 run test_lagged_fibonacci19937.cpp /boost//unit_test_framework ;
55 run test_lagged_fibonacci23209.cpp /boost//unit_test_framework ;
56 run test_lagged_fibonacci44497.cpp /boost//unit_test_framework ;
57 run test_zero_seed.cpp /boost//unit_test_framework ;
58
59 run niederreiter_base2_validate.cpp /boost//unit_test_framework ;
60 run sobol_validate.cpp /boost//unit_test_framework ;
61 run faure_validate.cpp /boost//unit_test_framework ;
62
63 # Disable by default. These don't add much and the larger
64 # ones can overflow the stack.
65 explicit test_lagged_fibonacci1279 test_lagged_fibonacci2281
66 test_lagged_fibonacci2281 test_lagged_fibonacci3217
67 test_lagged_fibonacci4423 test_lagged_fibonacci9689
68 test_lagged_fibonacci19937 test_lagged_fibonacci23209
69 test_lagged_fibonacci44497 ;
70
71 run test_seed_seq.cpp /boost//unit_test_framework ;
72
73 run test_binomial.cpp ;
74 run test_binomial_distribution.cpp /boost//unit_test_framework ;
75 run test_poisson.cpp ;
76 run test_poisson_distribution.cpp /boost//unit_test_framework ;
77 run test_discrete.cpp ;
78 run test_discrete_distribution.cpp /boost//unit_test_framework ;
79 run test_gamma.cpp ;
80 run test_gamma_distribution.cpp /boost//unit_test_framework ;
81 run test_weibull.cpp ;
82 run test_weibull_distribution.cpp /boost//unit_test_framework ;
83 run test_extreme_value.cpp ;
84 run test_extreme_value_distribution.cpp /boost//unit_test_framework ;
85 run test_negative_binomial.cpp ;
86 run test_negative_binomial_distribution.cpp /boost//unit_test_framework ;
87 run test_chi_squared.cpp ;
88 run test_chi_squared_distribution.cpp /boost//unit_test_framework ;
89 run test_fisher_f.cpp ;
90 run test_fisher_f_distribution.cpp /boost//unit_test_framework ;
91 run test_student_t.cpp ;
92 run test_student_t_distribution.cpp /boost//unit_test_framework ;
93 run test_normal.cpp ;
94 run test_normal_distribution.cpp /boost//unit_test_framework ;
95 run test_piecewise_constant.cpp ;
96 run test_piecewise_constant_distribution.cpp /boost//unit_test_framework ;
97 run test_piecewise_linear.cpp ;
98 run test_piecewise_linear_distribution.cpp /boost//unit_test_framework ;
99 run test_exponential.cpp ;
100 run test_exponential_distribution.cpp /boost//unit_test_framework ;
101 run test_bernoulli.cpp ;
102 run test_bernoulli_distribution.cpp /boost//unit_test_framework ;
103 run test_cauchy.cpp ;
104 run test_cauchy_distribution.cpp /boost//unit_test_framework ;
105 run test_geometric.cpp ;
106 run test_geometric_distribution.cpp /boost//unit_test_framework ;
107 run test_lognormal.cpp ;
108 run test_lognormal_distribution.cpp /boost//unit_test_framework ;
109 run test_triangle.cpp ;
110 run test_triangle_distribution.cpp /boost//unit_test_framework ;
111 run test_uniform_int.cpp ;
112 run test_uniform_int_distribution.cpp /boost//unit_test_framework ;
113 run test_uniform_real.cpp ;
114 run test_uniform_real_distribution.cpp /boost//unit_test_framework ;
115 run test_uniform_on_sphere.cpp ;
116 run test_uniform_on_sphere_distribution.cpp /boost//unit_test_framework ;
117 run test_uniform_smallint.cpp ;
118 run test_uniform_smallint_distribution.cpp /boost//unit_test_framework ;
119 run test_old_uniform_real.cpp ;
120 run test_old_uniform_real_distribution.cpp /boost//unit_test_framework ;
121 run test_old_uniform_int.cpp ;
122 run test_old_uniform_int_distribution.cpp /boost//unit_test_framework ;
123 run test_beta.cpp ;
124 run test_beta_distribution.cpp /boost//unit_test_framework ;
125 run test_laplace.cpp ;
126 run test_laplace_distribution.cpp /boost//unit_test_framework ;
127 run test_non_central_chi_squared.cpp ;
128 run test_non_central_chi_squared_distribution.cpp /boost//unit_test_framework ;
129 run test_hyperexponential.cpp ;
130 run test_hyperexponential_distribution.cpp /boost//unit_test_framework ;
131
132 # run nondet_random_speed.cpp ;
133 # run random_device.cpp ;
134 # run random_speed.cpp ;
135 # run statistic_tests.cpp ;
136
137 exe statistic_tests.exe : statistic_tests.cpp ;
138 explicit statistic_tests.exe ;
139
140 install statistic_tests : statistic_tests.exe : <install-type>EXE <location>. ;
141 explicit statistic_tests ;
142
143 #
144 # Multiprecision tests:
145 #
146 run multiprecision_int_test.cpp /boost//unit_test_framework ;
147 # This one runs too slow in debug mode, we really need inline expansions turned on amonst other things:
148 run multiprecision_float_test.cpp /boost//unit_test_framework : : : release ;