]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/random/test/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[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_ecuyer1988.cpp /boost//unit_test_framework ;
27 run test_hellekalek1995.cpp /boost//unit_test_framework ;
28 run test_linear_feedback_shift.cpp /boost//unit_test_framework ;
29 run test_taus88.cpp /boost//unit_test_framework ;
30 run test_kreutzer1986.cpp /boost//unit_test_framework ;
31 run test_ranlux3.cpp /boost//unit_test_framework ;
32 run test_ranlux4.cpp /boost//unit_test_framework ;
33 run test_ranlux3_01.cpp /boost//unit_test_framework ;
34 run test_ranlux4_01.cpp /boost//unit_test_framework ;
35 run test_ranlux64_4.cpp /boost//unit_test_framework ;
36 run test_ranlux64_3.cpp /boost//unit_test_framework ;
37 run test_ranlux64_3_01.cpp /boost//unit_test_framework ;
38 run test_ranlux64_4_01.cpp /boost//unit_test_framework ;
39 run test_ranlux24_base.cpp /boost//unit_test_framework ;
40 run test_ranlux24.cpp /boost//unit_test_framework ;
41 run test_ranlux48_base.cpp /boost//unit_test_framework ;
42 run test_ranlux48.cpp /boost//unit_test_framework ;
43 run test_knuth_b.cpp /boost//unit_test_framework ;
44 run test_independent_bits31.cpp /boost//unit_test_framework ;
45 run test_independent_bits32.cpp /boost//unit_test_framework ;
46 run test_lagged_fibonacci.cpp /boost//unit_test_framework ;
47 run test_lagged_fibonacci607.cpp /boost//unit_test_framework ;
48 run test_lagged_fibonacci1279.cpp /boost//unit_test_framework ;
49 run test_lagged_fibonacci2281.cpp /boost//unit_test_framework ;
50 run test_lagged_fibonacci3217.cpp /boost//unit_test_framework ;
51 run test_lagged_fibonacci4423.cpp /boost//unit_test_framework ;
52 run test_lagged_fibonacci9689.cpp /boost//unit_test_framework ;
53 run test_lagged_fibonacci19937.cpp /boost//unit_test_framework ;
54 run test_lagged_fibonacci23209.cpp /boost//unit_test_framework ;
55 run test_lagged_fibonacci44497.cpp /boost//unit_test_framework ;
56 run test_zero_seed.cpp /boost//unit_test_framework ;
57
58 run niederreiter_base2_validate.cpp /boost//unit_test_framework ;
59 run sobol_validate.cpp /boost//unit_test_framework ;
60 run faure_validate.cpp /boost//unit_test_framework ;
61
62 # Disable by default. These don't add much and the larger
63 # ones can overflow the stack.
64 explicit test_lagged_fibonacci1279 test_lagged_fibonacci2281
65 test_lagged_fibonacci2281 test_lagged_fibonacci3217
66 test_lagged_fibonacci4423 test_lagged_fibonacci9689
67 test_lagged_fibonacci19937 test_lagged_fibonacci23209
68 test_lagged_fibonacci44497 ;
69
70 run test_seed_seq.cpp /boost//unit_test_framework ;
71
72 run test_binomial.cpp ;
73 run test_binomial_distribution.cpp /boost//unit_test_framework ;
74 run test_poisson.cpp ;
75 run test_poisson_distribution.cpp /boost//unit_test_framework ;
76 run test_discrete.cpp ;
77 run test_discrete_distribution.cpp /boost//unit_test_framework ;
78 run test_gamma.cpp ;
79 run test_gamma_distribution.cpp /boost//unit_test_framework ;
80 run test_weibull.cpp ;
81 run test_weibull_distribution.cpp /boost//unit_test_framework ;
82 run test_extreme_value.cpp ;
83 run test_extreme_value_distribution.cpp /boost//unit_test_framework ;
84 run test_negative_binomial.cpp ;
85 run test_negative_binomial_distribution.cpp /boost//unit_test_framework ;
86 run test_chi_squared.cpp ;
87 run test_chi_squared_distribution.cpp /boost//unit_test_framework ;
88 run test_fisher_f.cpp ;
89 run test_fisher_f_distribution.cpp /boost//unit_test_framework ;
90 run test_student_t.cpp ;
91 run test_student_t_distribution.cpp /boost//unit_test_framework ;
92 run test_normal.cpp ;
93 run test_normal_distribution.cpp /boost//unit_test_framework ;
94 run test_piecewise_constant.cpp ;
95 run test_piecewise_constant_distribution.cpp /boost//unit_test_framework ;
96 run test_piecewise_linear.cpp ;
97 run test_piecewise_linear_distribution.cpp /boost//unit_test_framework ;
98 run test_exponential.cpp ;
99 run test_exponential_distribution.cpp /boost//unit_test_framework ;
100 run test_bernoulli.cpp ;
101 run test_bernoulli_distribution.cpp /boost//unit_test_framework ;
102 run test_cauchy.cpp ;
103 run test_cauchy_distribution.cpp /boost//unit_test_framework ;
104 run test_geometric.cpp ;
105 run test_geometric_distribution.cpp /boost//unit_test_framework ;
106 run test_lognormal.cpp ;
107 run test_lognormal_distribution.cpp /boost//unit_test_framework ;
108 run test_triangle.cpp ;
109 run test_triangle_distribution.cpp /boost//unit_test_framework ;
110 run test_uniform_int.cpp ;
111 run test_uniform_int_distribution.cpp /boost//unit_test_framework ;
112 run test_uniform_real.cpp ;
113 run test_uniform_real_distribution.cpp /boost//unit_test_framework ;
114 run test_uniform_on_sphere.cpp ;
115 run test_uniform_on_sphere_distribution.cpp /boost//unit_test_framework ;
116 run test_uniform_smallint.cpp ;
117 run test_uniform_smallint_distribution.cpp /boost//unit_test_framework ;
118 run test_old_uniform_real.cpp ;
119 run test_old_uniform_real_distribution.cpp /boost//unit_test_framework ;
120 run test_old_uniform_int.cpp ;
121 run test_old_uniform_int_distribution.cpp /boost//unit_test_framework ;
122 run test_beta.cpp ;
123 run test_beta_distribution.cpp /boost//unit_test_framework ;
124 run test_laplace.cpp ;
125 run test_laplace_distribution.cpp /boost//unit_test_framework ;
126 run test_non_central_chi_squared.cpp ;
127 run test_non_central_chi_squared_distribution.cpp /boost//unit_test_framework ;
128 run test_hyperexponential.cpp ;
129 run test_hyperexponential_distribution.cpp /boost//unit_test_framework ;
130
131 # run nondet_random_speed.cpp ;
132 # run random_device.cpp ;
133 # run random_speed.cpp ;
134 # run statistic_tests.cpp ;
135
136 exe statistic_tests.exe : statistic_tests.cpp ;
137 explicit statistic_tests.exe ;
138
139 install statistic_tests : statistic_tests.exe : <install-type>EXE <location>. ;
140 explicit statistic_tests ;
141
142 #
143 # Multiprecision tests:
144 #
145 run multiprecision_int_test.cpp /boost//unit_test_framework ;
146 # This one runs too slow in debug mode, we really need inline expansions turned on amonst other things:
147 run multiprecision_float_test.cpp /boost//unit_test_framework : : : release ;