# bring in the rules for testing
import testing ;
+import ../../config/checks/config : requires ;
project
: requirements
<exception-handling>off:<source>../test//no_eh
;
-# run bessel_zeros_example.cpp ; # Now split into four examples.
-run bessel_zeros_example_1.cpp : : : <exception-handling>off:<build>no ;
-run bessel_zeros_interator_example.cpp : : : <exception-handling>off:<build>no ;
-run neumann_zeros_example_1.cpp : : : <exception-handling>off:<build>no ;
+test-suite examples :
+ [ run bessel_zeros_example_1.cpp : : : <exception-handling>off:<build>no ]
+ [ run bessel_zeros_interator_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run neumann_zeros_example_1.cpp : : : <exception-handling>off:<build>no ]
-run test_cpp_float_close_fraction.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <exception-handling>off:<build>no ;
-run binomial_coinflip_example.cpp : : : <exception-handling>off:<build>no ;
-run binomial_confidence_limits.cpp ;
-run binomial_example_nag.cpp ;
-run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no ;
-run binomial_sample_sizes.cpp ;
-run c_error_policy_example.cpp ;
-run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no ;
-run distribution_construction.cpp : : : <exception-handling>off:<build>no ;
-run error_handling_example.cpp : : : <exception-handling>off:<build>no ;
-run error_policies_example.cpp ;
-run error_policy_example.cpp : : : <exception-handling>off:<build>no ;
-run f_test.cpp ;
-run find_location_example.cpp : : : <exception-handling>off:<build>no ;
-run find_mean_and_sd_normal.cpp : : : <exception-handling>off:<build>no ;
-run find_root_example.cpp : : : <exception-handling>off:<build>no ;
-run find_scale_example.cpp : : : <exception-handling>off:<build>no ;
-run geometric_examples.cpp : : : <exception-handling>off:<build>no ;
-run hyperexponential_snips.cpp ;
-run hyperexponential_more_snips.cpp ;
-run inverse_chi_squared_example.cpp ;
-# run inverse_chi_squared_find_df_example.cpp ;
-run inverse_gamma_example.cpp ;
-run inverse_gamma_distribution_example.cpp : : : <exception-handling>off:<build>no ;
-run laplace_example.cpp : : : <exception-handling>off:<build>no ;
-run nc_chi_sq_example.cpp ;
-run neg_binom_confidence_limits.cpp ;
-run neg_binomial_sample_sizes.cpp ;
-run negative_binomial_example1.cpp : : : <exception-handling>off:<build>no ;
-run negative_binomial_example2.cpp ;
+ [ run test_cpp_float_close_fraction.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <exception-handling>off:<build>no ]
+ [ run binomial_coinflip_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run binomial_confidence_limits.cpp ]
+ [ run binomial_example_nag.cpp ]
+ [ run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run binomial_sample_sizes.cpp ]
+ [ run c_error_policy_example.cpp ]
+ [ run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no ]
+ [ run distribution_construction.cpp : : : <exception-handling>off:<build>no ]
+ [ run error_handling_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run error_policies_example.cpp ]
+ [ run error_policy_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run f_test.cpp ]
+ [ run find_location_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run find_mean_and_sd_normal.cpp : : : <exception-handling>off:<build>no ]
+ [ run find_root_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run find_scale_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run geometric_examples.cpp : : : <exception-handling>off:<build>no ]
+ [ run hyperexponential_snips.cpp ]
+ [ run hyperexponential_more_snips.cpp ]
+ [ run inverse_chi_squared_example.cpp ]
+ [ run legendre_stieltjes_example.cpp : : : [ requires cxx11_auto_declarations cxx11_defaulted_functions cxx11_lambdas ] ]
+ #[ # run inverse_chi_squared_find_df_example.cpp ]
+ [ run inverse_gamma_example.cpp ]
+ [ run inverse_gamma_distribution_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run laplace_example.cpp : : : <exception-handling>off:<build>no ]
+ [ run nc_chi_sq_example.cpp ]
+ [ run neg_binom_confidence_limits.cpp ]
+ [ run neg_binomial_sample_sizes.cpp ]
+ [ run negative_binomial_example1.cpp : : : <exception-handling>off:<build>no ]
+ [ run negative_binomial_example2.cpp ]
-run nonfinite_num_facet.cpp ;
-run nonfinite_facet_simple.cpp ;
-run nonfinite_num_facet_serialization.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no ;
-# run lexical_cast_native.cpp ; # Expected to fail on some (but not all) platforms.
-run lexical_cast_nonfinite_facets.cpp ;
-run nonfinite_loopback_ok.cpp ;
-run nonfinite_serialization_archives.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no ;
-run nonfinite_facet_sstream.cpp ;
+ [ run nonfinite_num_facet.cpp ]
+ [ run nonfinite_facet_simple.cpp ]
+ [ run nonfinite_num_facet_serialization.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ]
+ #[ # run lexical_cast_native.cpp ] # Expected to fail on some (but not all) platforms.
+ [ run lexical_cast_nonfinite_facets.cpp ]
+ [ run nonfinite_loopback_ok.cpp ]
+ [ run nonfinite_serialization_archives.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ]
+ [ run nonfinite_facet_sstream.cpp ]
-run constants_eg1.cpp ;
+ [ run constants_eg1.cpp ]
-run normal_misc_examples.cpp : : : <exception-handling>off:<build>no ;
-run owens_t_example.cpp ;
-run policy_eg_1.cpp ;
-run policy_eg_10.cpp ;
-run policy_eg_2.cpp ;
-run policy_eg_3.cpp ;
-run policy_eg_4.cpp ;
-run policy_eg_5.cpp ;
-run policy_eg_6.cpp ;
-run policy_eg_7.cpp ;
-run policy_eg_8.cpp ;
-run policy_eg_9.cpp ;
-run policy_ref_snip1.cpp : : : <exception-handling>off:<build>no ;
-run policy_ref_snip10.cpp ;
-run policy_ref_snip11.cpp ;
-run policy_ref_snip12.cpp ;
-run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no ;
-run policy_ref_snip2.cpp ;
-run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no ;
-run policy_ref_snip4.cpp ;
-run policy_ref_snip5.cpp ;
-run policy_ref_snip6.cpp ;
-run policy_ref_snip7.cpp ;
-run policy_ref_snip8.cpp ;
-run policy_ref_snip9.cpp ;
-run skew_normal_example.cpp ;
-run students_t_example1.cpp ;
-run students_t_example2.cpp ;
-run students_t_example3.cpp ;
-run students_t_single_sample.cpp ;
-run students_t_two_samples.cpp ;
-run HSO3SO4.cpp ;
+ [ run normal_misc_examples.cpp : : : <exception-handling>off:<build>no ]
+ [ run owens_t_example.cpp ]
+ [ run policy_eg_1.cpp ]
+ [ run policy_eg_10.cpp ]
+ [ run policy_eg_2.cpp ]
+ [ run policy_eg_3.cpp ]
+ [ run policy_eg_4.cpp ]
+ [ run policy_eg_5.cpp ]
+ [ run policy_eg_6.cpp ]
+ [ run policy_eg_7.cpp ]
+ [ run policy_eg_8.cpp ]
+ [ run policy_eg_9.cpp ]
+ [ run policy_ref_snip1.cpp : : : <exception-handling>off:<build>no ]
+ [ run policy_ref_snip10.cpp ]
+ [ run policy_ref_snip11.cpp ]
+ [ run policy_ref_snip12.cpp ]
+ [ run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no ]
+ [ run policy_ref_snip2.cpp ]
+ [ run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no ]
+ [ run policy_ref_snip4.cpp ]
+ [ run policy_ref_snip5.cpp ]
+ [ run policy_ref_snip6.cpp ]
+ [ run policy_ref_snip7.cpp ]
+ [ run policy_ref_snip8.cpp ]
+ [ run policy_ref_snip9.cpp ]
+ [ run skew_normal_example.cpp ]
+ [ run students_t_example1.cpp ]
+ [ run students_t_example2.cpp ]
+ [ run students_t_example3.cpp ]
+ [ run students_t_single_sample.cpp ]
+ [ run students_t_two_samples.cpp ]
+ [ run HSO3SO4.cpp ]
-run root_elliptic_finding.cpp /boost/timer : : : release <link>static ;
-run root_finding_algorithms.cpp /boost/timer : : : release <link>static ;
-run root_n_finding_algorithms.cpp /boost/timer : : : release <link>static ;
+ [ 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" ]
+ [ 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" ]
+ [ 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" ]
-explicit root_elliptic_finding ;
-explicit root_finding_algorithms ;
-explicit root_n_finding_algorithms ;
+ [ explicit root_elliptic_finding ]
+ [ explicit root_finding_algorithms ]
+ [ explicit root_n_finding_algorithms ]
+ [ run barycentric_interpolation_example.cpp : : : [ requires cxx11_smart_ptr ] ]
+ [ run barycentric_interpolation_example_2.cpp : : : [ requires cxx11_smart_ptr cxx11_function_template_default_args ] ]
+ [ run cubic_b_spline_example.cpp : : : [ requires cxx11_smart_ptr cxx11_hdr_random cxx11_defaulted_functions ] ]
+;