]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # \libs\math\example\jamfile.v2 |
2 | # Runs statistics and floating-point examples. | |
3 | # Copyright 2007 John Maddock | |
4 | # Copyright Paul A. Bristow 2007, 2010, 2011. | |
5 | # Distributed under the Boost Software License, Version 1.0. | |
6 | # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
7 | ||
8 | # bring in the rules for testing | |
9 | import testing ; | |
b32b8144 | 10 | import ../../config/checks/config : requires ; |
7c673cae FG |
11 | |
12 | project | |
13 | : requirements | |
14 | <toolset>gcc:<cxxflags>-Wno-missing-braces | |
15 | <toolset>darwin:<cxxflags>-Wno-missing-braces | |
16 | <toolset>acc:<cxxflags>+W2068,2461,2236,4070 | |
17 | <toolset>intel:<cxxflags>-Qwd264,239 | |
18 | <toolset>msvc:<warnings>all | |
19 | <toolset>msvc:<asynch-exceptions>on | |
20 | <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE | |
21 | <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE | |
22 | <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS | |
23 | <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS | |
24 | <toolset>msvc:<cxxflags>/wd4996 | |
25 | <toolset>msvc:<cxxflags>/wd4512 | |
26 | <toolset>msvc:<cxxflags>/wd4610 | |
27 | <toolset>msvc:<cxxflags>/wd4510 | |
28 | <toolset>msvc:<cxxflags>/wd4127 | |
29 | <toolset>msvc:<cxxflags>/wd4701 | |
30 | <toolset>msvc:<cxxflags>/wd4127 | |
31 | <toolset>msvc:<cxxflags>/wd4305 | |
32 | <toolset>msvc:<cxxflags>/wd4459 | |
33 | #-<toolset>msvc:<cxxflags>/Za # nonfinite Serialization examples fail link if disable MS extensions, | |
34 | # because serialization library is built with MS extensions enabled (default). | |
35 | <include>../../.. | |
36 | <include>../include_private | |
37 | <exception-handling>off:<source>../test//no_eh | |
38 | ; | |
39 | ||
b32b8144 FG |
40 | test-suite examples : |
41 | [ run bessel_zeros_example_1.cpp : : : <exception-handling>off:<build>no ] | |
42 | [ run bessel_zeros_interator_example.cpp : : : <exception-handling>off:<build>no ] | |
43 | [ run neumann_zeros_example_1.cpp : : : <exception-handling>off:<build>no ] | |
7c673cae | 44 | |
b32b8144 FG |
45 | [ run test_cpp_float_close_fraction.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <exception-handling>off:<build>no ] |
46 | [ run binomial_coinflip_example.cpp : : : <exception-handling>off:<build>no ] | |
47 | [ run binomial_confidence_limits.cpp ] | |
48 | [ run binomial_example_nag.cpp ] | |
49 | [ run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no ] | |
50 | [ run binomial_sample_sizes.cpp ] | |
51 | [ run c_error_policy_example.cpp ] | |
52 | [ run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no ] | |
53 | [ run distribution_construction.cpp : : : <exception-handling>off:<build>no ] | |
54 | [ run error_handling_example.cpp : : : <exception-handling>off:<build>no ] | |
55 | [ run error_policies_example.cpp ] | |
56 | [ run error_policy_example.cpp : : : <exception-handling>off:<build>no ] | |
57 | [ run f_test.cpp ] | |
58 | [ run find_location_example.cpp : : : <exception-handling>off:<build>no ] | |
59 | [ run find_mean_and_sd_normal.cpp : : : <exception-handling>off:<build>no ] | |
60 | [ run find_root_example.cpp : : : <exception-handling>off:<build>no ] | |
61 | [ run find_scale_example.cpp : : : <exception-handling>off:<build>no ] | |
62 | [ run geometric_examples.cpp : : : <exception-handling>off:<build>no ] | |
63 | [ run hyperexponential_snips.cpp ] | |
64 | [ run hyperexponential_more_snips.cpp ] | |
65 | [ run inverse_chi_squared_example.cpp ] | |
66 | [ run legendre_stieltjes_example.cpp : : : [ requires cxx11_auto_declarations cxx11_defaulted_functions cxx11_lambdas ] ] | |
67 | #[ # run inverse_chi_squared_find_df_example.cpp ] | |
68 | [ run inverse_gamma_example.cpp ] | |
69 | [ run inverse_gamma_distribution_example.cpp : : : <exception-handling>off:<build>no ] | |
70 | [ run laplace_example.cpp : : : <exception-handling>off:<build>no ] | |
71 | [ run nc_chi_sq_example.cpp ] | |
72 | [ run neg_binom_confidence_limits.cpp ] | |
73 | [ run neg_binomial_sample_sizes.cpp ] | |
74 | [ run negative_binomial_example1.cpp : : : <exception-handling>off:<build>no ] | |
75 | [ run negative_binomial_example2.cpp ] | |
7c673cae | 76 | |
b32b8144 FG |
77 | [ run nonfinite_num_facet.cpp ] |
78 | [ run nonfinite_facet_simple.cpp ] | |
79 | [ run nonfinite_num_facet_serialization.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ] | |
80 | #[ # run lexical_cast_native.cpp ] # Expected to fail on some (but not all) platforms. | |
81 | [ run lexical_cast_nonfinite_facets.cpp ] | |
82 | [ run nonfinite_loopback_ok.cpp ] | |
83 | [ run nonfinite_serialization_archives.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ] | |
84 | [ run nonfinite_facet_sstream.cpp ] | |
7c673cae | 85 | |
b32b8144 | 86 | [ run constants_eg1.cpp ] |
7c673cae | 87 | |
b32b8144 FG |
88 | [ run normal_misc_examples.cpp : : : <exception-handling>off:<build>no ] |
89 | [ run owens_t_example.cpp ] | |
90 | [ run policy_eg_1.cpp ] | |
91 | [ run policy_eg_10.cpp ] | |
92 | [ run policy_eg_2.cpp ] | |
93 | [ run policy_eg_3.cpp ] | |
94 | [ run policy_eg_4.cpp ] | |
95 | [ run policy_eg_5.cpp ] | |
96 | [ run policy_eg_6.cpp ] | |
97 | [ run policy_eg_7.cpp ] | |
98 | [ run policy_eg_8.cpp ] | |
99 | [ run policy_eg_9.cpp ] | |
100 | [ run policy_ref_snip1.cpp : : : <exception-handling>off:<build>no ] | |
101 | [ run policy_ref_snip10.cpp ] | |
102 | [ run policy_ref_snip11.cpp ] | |
103 | [ run policy_ref_snip12.cpp ] | |
104 | [ run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no ] | |
105 | [ run policy_ref_snip2.cpp ] | |
106 | [ run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no ] | |
107 | [ run policy_ref_snip4.cpp ] | |
108 | [ run policy_ref_snip5.cpp ] | |
109 | [ run policy_ref_snip6.cpp ] | |
110 | [ run policy_ref_snip7.cpp ] | |
111 | [ run policy_ref_snip8.cpp ] | |
112 | [ run policy_ref_snip9.cpp ] | |
113 | [ run skew_normal_example.cpp ] | |
114 | [ run students_t_example1.cpp ] | |
115 | [ run students_t_example2.cpp ] | |
116 | [ run students_t_example3.cpp ] | |
117 | [ run students_t_single_sample.cpp ] | |
118 | [ run students_t_two_samples.cpp ] | |
119 | [ run HSO3SO4.cpp ] | |
7c673cae | 120 | |
b32b8144 FG |
121 | [ run root_elliptic_finding.cpp /boost/timer : : : release <link>static [ requires cxx11_unified_initialization_syntax cxx11_defaulted_functions ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ] |
122 | [ run root_finding_algorithms.cpp /boost/timer : : : release <link>static [ requires cxx11_hdr_tuple cxx11_unified_initialization_syntax ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ] | |
123 | [ run root_n_finding_algorithms.cpp /boost/timer : : : release <link>static [ requires cxx11_unified_initialization_syntax cxx11_defaulted_functions ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ] | |
7c673cae | 124 | |
b32b8144 FG |
125 | [ explicit root_elliptic_finding ] |
126 | [ explicit root_finding_algorithms ] | |
127 | [ explicit root_n_finding_algorithms ] | |
7c673cae | 128 | |
b32b8144 FG |
129 | [ run barycentric_interpolation_example.cpp : : : [ requires cxx11_smart_ptr ] ] |
130 | [ run barycentric_interpolation_example_2.cpp : : : [ requires cxx11_smart_ptr cxx11_function_template_default_args ] ] | |
131 | [ run cubic_b_spline_example.cpp : : : [ requires cxx11_smart_ptr cxx11_hdr_random cxx11_defaulted_functions ] ] | |
132 | ; | |
7c673cae | 133 |