5
5
6
6
# Boost Random Library test Jamfile
7
7
8
+ require-b2 5.0.1 ;
9
+ import-search /boost/config/checks ;
10
+ import config : requires ;
11
+
8
12
# bring in rules for testing
9
13
import testing ;
10
- import ../../config/checks/config : requires ;
11
14
12
15
project /boost/random/test : requirements
13
16
@@ -16,56 +19,56 @@ project /boost/random/test : requirements
16
19
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
17
20
;
18
21
19
- run test_const_mod.cpp /boost//unit_test_framework ;
20
- run test_generate_canonical.cpp /boost//unit_test_framework ;
21
- run test_random_number_generator.cpp /boost//unit_test_framework ;
22
+ run test_const_mod.cpp /boost/test//boost_unit_test_framework ;
23
+ run test_generate_canonical.cpp /boost/test//boost_unit_test_framework ;
24
+ run test_random_number_generator.cpp /boost/test//boost_unit_test_framework ;
22
25
run ../example/random_demo.cpp ;
23
- run test_random_device.cpp /boost// random : : : <link>static : test_random_device ;
24
- run test_random_device.cpp /boost// random : : : <link>shared : test_random_device_dll ;
25
-
26
- run test_minstd_rand0.cpp /boost//unit_test_framework ;
27
- run test_minstd_rand.cpp /boost//unit_test_framework ;
28
- run test_rand48.cpp /boost//unit_test_framework ;
29
- run test_mt11213b.cpp /boost//unit_test_framework ;
30
- run test_mt19937.cpp /boost//unit_test_framework ;
31
- run test_mt19937_64.cpp /boost//unit_test_framework ;
32
- run test_mixmax.cpp /boost//unit_test_framework ;
33
- run test_ecuyer1988.cpp /boost//unit_test_framework ;
34
- run test_hellekalek1995.cpp /boost//unit_test_framework ;
35
- run test_linear_feedback_shift.cpp /boost//unit_test_framework ;
36
- run test_taus88.cpp /boost//unit_test_framework ;
37
- run test_kreutzer1986.cpp /boost//unit_test_framework ;
38
- run test_ranlux3.cpp /boost//unit_test_framework ;
39
- run test_ranlux4.cpp /boost//unit_test_framework ;
40
- run test_ranlux3_01.cpp /boost//unit_test_framework ;
41
- run test_ranlux4_01.cpp /boost//unit_test_framework ;
42
- run test_ranlux64_4.cpp /boost//unit_test_framework ;
43
- run test_ranlux64_3.cpp /boost//unit_test_framework ;
44
- run test_ranlux64_3_01.cpp /boost//unit_test_framework ;
45
- run test_ranlux64_4_01.cpp /boost//unit_test_framework ;
46
- run test_ranlux24_base.cpp /boost//unit_test_framework ;
47
- run test_ranlux24.cpp /boost//unit_test_framework ;
48
- run test_ranlux48_base.cpp /boost//unit_test_framework ;
49
- run test_ranlux48.cpp /boost//unit_test_framework ;
50
- run test_knuth_b.cpp /boost//unit_test_framework ;
51
- run test_independent_bits31.cpp /boost//unit_test_framework ;
52
- run test_independent_bits32.cpp /boost//unit_test_framework ;
53
- run test_lagged_fibonacci.cpp /boost//unit_test_framework ;
54
- run test_lagged_fibonacci607.cpp /boost//unit_test_framework ;
55
- run test_lagged_fibonacci1279.cpp /boost//unit_test_framework ;
56
- run test_lagged_fibonacci2281.cpp /boost//unit_test_framework ;
57
- run test_lagged_fibonacci3217.cpp /boost//unit_test_framework ;
58
- run test_lagged_fibonacci4423.cpp /boost//unit_test_framework ;
59
- run test_lagged_fibonacci9689.cpp /boost//unit_test_framework ;
60
- run test_lagged_fibonacci19937.cpp /boost//unit_test_framework ;
61
- run test_lagged_fibonacci23209.cpp /boost//unit_test_framework ;
62
- run test_lagged_fibonacci44497.cpp /boost//unit_test_framework ;
63
- run test_zero_seed.cpp /boost//unit_test_framework ;
64
- run test_splitmix64.cpp /boost//unit_test_framework ;
65
-
66
- run niederreiter_base2_validate.cpp /boost//unit_test_framework ;
67
- run sobol_validate.cpp /boost//unit_test_framework ;
68
- run faure_validate.cpp /boost//unit_test_framework ;
26
+ run test_random_device.cpp /boost/random//boost_random /boost/test//included : : : <link>static : test_random_device ;
27
+ run test_random_device.cpp /boost/random//boost_random /boost/test//included : : : <link>shared : test_random_device_dll ;
28
+
29
+ run test_minstd_rand0.cpp /boost/test//boost_unit_test_framework ;
30
+ run test_minstd_rand.cpp /boost/test//boost_unit_test_framework ;
31
+ run test_rand48.cpp /boost/test//boost_unit_test_framework ;
32
+ run test_mt11213b.cpp /boost/test//boost_unit_test_framework ;
33
+ run test_mt19937.cpp /boost/test//boost_unit_test_framework ;
34
+ run test_mt19937_64.cpp /boost/test//boost_unit_test_framework ;
35
+ run test_mixmax.cpp /boost/test//boost_unit_test_framework ;
36
+ run test_ecuyer1988.cpp /boost/test//boost_unit_test_framework ;
37
+ run test_hellekalek1995.cpp /boost/test//boost_unit_test_framework ;
38
+ run test_linear_feedback_shift.cpp /boost/test//boost_unit_test_framework ;
39
+ run test_taus88.cpp /boost/test//boost_unit_test_framework ;
40
+ run test_kreutzer1986.cpp /boost/test//boost_unit_test_framework ;
41
+ run test_ranlux3.cpp /boost/test//boost_unit_test_framework ;
42
+ run test_ranlux4.cpp /boost/test//boost_unit_test_framework ;
43
+ run test_ranlux3_01.cpp /boost/test//boost_unit_test_framework ;
44
+ run test_ranlux4_01.cpp /boost/test//boost_unit_test_framework ;
45
+ run test_ranlux64_4.cpp /boost/test//boost_unit_test_framework ;
46
+ run test_ranlux64_3.cpp /boost/test//boost_unit_test_framework ;
47
+ run test_ranlux64_3_01.cpp /boost/test//boost_unit_test_framework ;
48
+ run test_ranlux64_4_01.cpp /boost/test//boost_unit_test_framework ;
49
+ run test_ranlux24_base.cpp /boost/test//boost_unit_test_framework ;
50
+ run test_ranlux24.cpp /boost/test//boost_unit_test_framework ;
51
+ run test_ranlux48_base.cpp /boost/test//boost_unit_test_framework ;
52
+ run test_ranlux48.cpp /boost/test//boost_unit_test_framework ;
53
+ run test_knuth_b.cpp /boost/test//boost_unit_test_framework ;
54
+ run test_independent_bits31.cpp /boost/test//boost_unit_test_framework ;
55
+ run test_independent_bits32.cpp /boost/test//boost_unit_test_framework ;
56
+ run test_lagged_fibonacci.cpp /boost/test//boost_unit_test_framework ;
57
+ run test_lagged_fibonacci607.cpp /boost/test//boost_unit_test_framework ;
58
+ run test_lagged_fibonacci1279.cpp /boost/test//boost_unit_test_framework ;
59
+ run test_lagged_fibonacci2281.cpp /boost/test//boost_unit_test_framework ;
60
+ run test_lagged_fibonacci3217.cpp /boost/test//boost_unit_test_framework ;
61
+ run test_lagged_fibonacci4423.cpp /boost/test//boost_unit_test_framework ;
62
+ run test_lagged_fibonacci9689.cpp /boost/test//boost_unit_test_framework ;
63
+ run test_lagged_fibonacci19937.cpp /boost/test//boost_unit_test_framework ;
64
+ run test_lagged_fibonacci23209.cpp /boost/test//boost_unit_test_framework ;
65
+ run test_lagged_fibonacci44497.cpp /boost/test//boost_unit_test_framework ;
66
+ run test_zero_seed.cpp /boost/test//boost_unit_test_framework ;
67
+ run test_splitmix64.cpp /boost/test//boost_unit_test_framework ;
68
+
69
+ run niederreiter_base2_validate.cpp /boost/test//boost_unit_test_framework ;
70
+ run sobol_validate.cpp /boost/test//boost_unit_test_framework ;
71
+ run faure_validate.cpp /boost/test//boost_unit_test_framework ;
69
72
70
73
# Disable by default. These don't add much and the larger
71
74
# ones can overflow the stack.
@@ -75,66 +78,74 @@ explicit test_lagged_fibonacci1279 test_lagged_fibonacci2281
75
78
test_lagged_fibonacci19937 test_lagged_fibonacci23209
76
79
test_lagged_fibonacci44497 ;
77
80
78
- run test_seed_seq.cpp /boost//unit_test_framework ;
79
-
80
- run test_binomial.cpp ;
81
- run test_binomial_distribution.cpp /boost//unit_test_framework ;
82
- run test_poisson.cpp ;
83
- run test_poisson_distribution.cpp /boost//unit_test_framework ;
84
- run test_discrete.cpp ;
85
- run test_discrete_distribution.cpp /boost//unit_test_framework ;
86
- run test_gamma.cpp ;
87
- run test_gamma_distribution.cpp /boost//unit_test_framework ;
88
- run test_weibull.cpp ;
89
- run test_weibull_distribution.cpp /boost//unit_test_framework ;
90
- run test_extreme_value.cpp ;
91
- run test_extreme_value_distribution.cpp /boost//unit_test_framework ;
92
- run test_negative_binomial.cpp ;
93
- run test_negative_binomial_distribution.cpp /boost//unit_test_framework ;
94
- run test_chi_squared.cpp ;
95
- run test_chi_squared_distribution.cpp /boost//unit_test_framework ;
96
- run test_fisher_f.cpp ;
97
- run test_fisher_f_distribution.cpp /boost//unit_test_framework ;
98
- run test_student_t.cpp ;
99
- run test_student_t_distribution.cpp /boost//unit_test_framework ;
100
- run test_normal.cpp ;
101
- run test_normal_distribution.cpp /boost//unit_test_framework ;
102
- run test_piecewise_constant.cpp ;
103
- run test_piecewise_constant_distribution.cpp /boost//unit_test_framework ;
104
- run test_piecewise_linear.cpp ;
105
- run test_piecewise_linear_distribution.cpp /boost//unit_test_framework ;
106
- run test_exponential.cpp ;
107
- run test_exponential_distribution.cpp /boost//unit_test_framework ;
108
- run test_bernoulli.cpp ;
109
- run test_bernoulli_distribution.cpp /boost//unit_test_framework ;
110
- run test_cauchy.cpp ;
111
- run test_cauchy_distribution.cpp /boost//unit_test_framework ;
112
- run test_geometric.cpp ;
113
- run test_geometric_distribution.cpp /boost//unit_test_framework ;
114
- run test_lognormal.cpp ;
115
- run test_lognormal_distribution.cpp /boost//unit_test_framework ;
116
- run test_triangle.cpp ;
117
- run test_triangle_distribution.cpp /boost//unit_test_framework ;
118
- run test_uniform_int.cpp ;
119
- run test_uniform_int_distribution.cpp /boost//unit_test_framework ;
120
- run test_uniform_real.cpp ;
121
- run test_uniform_real_distribution.cpp /boost//unit_test_framework ;
122
- run test_uniform_on_sphere.cpp ;
123
- run test_uniform_on_sphere_distribution.cpp /boost//unit_test_framework ;
124
- run test_uniform_smallint.cpp ;
125
- run test_uniform_smallint_distribution.cpp /boost//unit_test_framework ;
126
- run test_old_uniform_real.cpp ;
127
- run test_old_uniform_real_distribution.cpp /boost//unit_test_framework ;
128
- run test_old_uniform_int.cpp ;
129
- run test_old_uniform_int_distribution.cpp /boost//unit_test_framework ;
130
- run test_beta.cpp ;
131
- run test_beta_distribution.cpp /boost//unit_test_framework ;
132
- run test_laplace.cpp ;
133
- run test_laplace_distribution.cpp /boost//unit_test_framework ;
134
- run test_non_central_chi_squared.cpp ;
135
- run test_non_central_chi_squared_distribution.cpp /boost//unit_test_framework ;
136
- run test_hyperexponential.cpp ;
137
- run test_hyperexponential_distribution.cpp /boost//unit_test_framework ;
81
+ alias math_test :
82
+ /boost/assign//boost_assign
83
+ /boost/exception//boost_exception
84
+ /boost/lexical_cast//boost_lexical_cast
85
+ /boost/math//boost_math_tr1
86
+ /boost/numeric_conversion//boost_numeric_conversion
87
+ ;
88
+
89
+ run test_seed_seq.cpp /boost/assign//boost_assign /boost/test//boost_unit_test_framework ;
90
+
91
+ run test_binomial.cpp math_test ;
92
+ run test_binomial_distribution.cpp /boost/test//boost_unit_test_framework ;
93
+ run test_poisson.cpp math_test ;
94
+ run test_poisson_distribution.cpp /boost/test//boost_unit_test_framework ;
95
+ run test_discrete.cpp math_test ;
96
+ run test_discrete_distribution.cpp /boost/assign//boost_assign /boost/test//boost_unit_test_framework ;
97
+ run test_gamma.cpp math_test ;
98
+ run test_gamma_distribution.cpp /boost/test//boost_unit_test_framework ;
99
+ run test_weibull.cpp math_test ;
100
+ run test_weibull_distribution.cpp /boost/test//boost_unit_test_framework ;
101
+ run test_extreme_value.cpp math_test ;
102
+ run test_extreme_value_distribution.cpp /boost/test//boost_unit_test_framework ;
103
+ run test_negative_binomial.cpp math_test ;
104
+ run test_negative_binomial_distribution.cpp /boost/test//boost_unit_test_framework ;
105
+ run test_chi_squared.cpp math_test ;
106
+ run test_chi_squared_distribution.cpp /boost/test//boost_unit_test_framework ;
107
+ run test_fisher_f.cpp math_test ;
108
+ run test_fisher_f_distribution.cpp /boost/test//boost_unit_test_framework ;
109
+ run test_student_t.cpp math_test ;
110
+ run test_student_t_distribution.cpp /boost/test//boost_unit_test_framework ;
111
+ run test_normal.cpp math_test ;
112
+ run test_normal_distribution.cpp /boost/test//boost_unit_test_framework ;
113
+ run test_piecewise_constant.cpp math_test ;
114
+ run test_piecewise_constant_distribution.cpp /boost/assign//boost_assign /boost/test//boost_unit_test_framework ;
115
+ run test_piecewise_linear.cpp math_test ;
116
+ run test_piecewise_linear_distribution.cpp /boost/assign//boost_assign /boost/test//boost_unit_test_framework ;
117
+ run test_exponential.cpp math_test ;
118
+ run test_exponential_distribution.cpp /boost/test//boost_unit_test_framework ;
119
+ run test_bernoulli.cpp math_test ;
120
+ run test_bernoulli_distribution.cpp /boost/test//boost_unit_test_framework ;
121
+ run test_cauchy.cpp math_test ;
122
+ run test_cauchy_distribution.cpp /boost/test//boost_unit_test_framework ;
123
+ run test_geometric.cpp math_test ;
124
+ run test_geometric_distribution.cpp /boost/test//boost_unit_test_framework ;
125
+ run test_lognormal.cpp math_test ;
126
+ run test_lognormal_distribution.cpp /boost/test//boost_unit_test_framework ;
127
+ run test_triangle.cpp math_test ;
128
+ run test_triangle_distribution.cpp /boost/test//boost_unit_test_framework ;
129
+ run test_uniform_int.cpp math_test ;
130
+ run test_uniform_int_distribution.cpp math_test /boost/test//boost_unit_test_framework ;
131
+ run test_uniform_real.cpp math_test ;
132
+ run test_uniform_real_distribution.cpp /boost/test//boost_unit_test_framework ;
133
+ run test_uniform_on_sphere.cpp math_test ;
134
+ run test_uniform_on_sphere_distribution.cpp math_test /boost/test//boost_unit_test_framework ;
135
+ run test_uniform_smallint.cpp math_test ;
136
+ run test_uniform_smallint_distribution.cpp /boost/test//boost_unit_test_framework ;
137
+ run test_old_uniform_real.cpp math_test ;
138
+ run test_old_uniform_real_distribution.cpp /boost/test//boost_unit_test_framework ;
139
+ run test_old_uniform_int.cpp math_test ;
140
+ run test_old_uniform_int_distribution.cpp math_test /boost/test//boost_unit_test_framework ;
141
+ run test_beta.cpp math_test ;
142
+ run test_beta_distribution.cpp /boost/test//boost_unit_test_framework ;
143
+ run test_laplace.cpp math_test ;
144
+ run test_laplace_distribution.cpp /boost/test//boost_unit_test_framework ;
145
+ run test_non_central_chi_squared.cpp math_test ;
146
+ run test_non_central_chi_squared_distribution.cpp /boost/test//boost_unit_test_framework ;
147
+ run test_hyperexponential.cpp math_test ;
148
+ run test_hyperexponential_distribution.cpp math_test /boost/test//boost_unit_test_framework ;
138
149
139
150
# run nondet_random_speed.cpp ;
140
151
# run random_device.cpp ;
@@ -150,6 +161,6 @@ explicit statistic_tests ;
150
161
#
151
162
# Multiprecision tests:
152
163
#
153
- run multiprecision_int_test.cpp /boost//unit_test_framework : : : [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] ;
164
+ run multiprecision_int_test.cpp /boost/test//boost_unit_test_framework /boost/multiprecision//boost_multiprecision : : : [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] ;
154
165
# This one runs too slow in debug mode, we really need inline expansions turned on amongst other things:
155
- run multiprecision_float_test.cpp /boost//unit_test_framework : : : [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] release ;
166
+ run multiprecision_float_test.cpp /boost/test//boost_unit_test_framework /boost/multiprecision//boost_multiprecision : : : [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_constexpr ] release ;
0 commit comments