Jamfile.v2 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # (C) Copyright 2005: Eric Niebler
  2. # Distributed under the Boost Software License, Version 1.0.
  3. # (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  4. # bring in rules for testing
  5. import testing ;
  6. import feature ;
  7. feature.feature iterator_debugging
  8. : on off
  9. : composite propagated optional
  10. ;
  11. feature.compose <iterator_debugging>off
  12. : <define>_HAS_ITERATOR_DEBUGGING=0
  13. ;
  14. project
  15. : requirements
  16. <library>/boost/test//boost_unit_test_framework
  17. <link>static
  18. <include>../../..
  19. <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
  20. # MSVC's iterator debugging causes some tests to run forever.
  21. <toolset>msvc:<iterator_debugging>off
  22. <toolset>intel-win:<iterator_debugging>off
  23. <cxxflags>"-Wno-deprecated-declarations"
  24. <library>/boost/serialization
  25. ;
  26. alias accumulators_regular_tests
  27. : [ run count.cpp ]
  28. [ run covariance.cpp ]
  29. [ run droppable.cpp ]
  30. [ run error_of.cpp ]
  31. [ run extended_p_square.cpp ]
  32. [ run extended_p_square_quantile.cpp ]
  33. [ run external_accumulator.cpp ]
  34. [ run external_weights.cpp ]
  35. [ run kurtosis.cpp ]
  36. [ run max.cpp ]
  37. [ run mean.cpp ]
  38. [ run median.cpp ]
  39. [ run min.cpp ]
  40. [ run moment.cpp ]
  41. [ run p_square_cumul_dist.cpp ]
  42. [ run p_square_quantile.cpp ]
  43. [ run reference.cpp ]
  44. [ run rolling_count.cpp ]
  45. [ run rolling_sum.cpp ]
  46. [ run rolling_mean.cpp ]
  47. [ run rolling_variance.cpp ]
  48. [ run rolling_moment.cpp ]
  49. [ run skewness.cpp ]
  50. [ run sum.cpp ]
  51. [ run sum_kahan.cpp ]
  52. [ run tail.cpp ]
  53. [ run tail_mean.cpp ]
  54. [ run tail_quantile.cpp ]
  55. [ run variance.cpp ]
  56. [ run vector.cpp ]
  57. [ run weighted_covariance.cpp ]
  58. [ run weighted_extended_p_square.cpp ]
  59. [ run weighted_kurtosis.cpp ]
  60. [ run weighted_mean.cpp ]
  61. [ run weighted_median.cpp ]
  62. [ run weighted_moment.cpp ]
  63. [ run weighted_p_square_cumul_dist.cpp ]
  64. [ run weighted_p_square_quantile.cpp ]
  65. [ run weighted_skewness.cpp ]
  66. [ run weighted_sum.cpp ]
  67. [ run weighted_sum_kahan.cpp ]
  68. [ run weighted_variance.cpp ]
  69. ;
  70. alias accumulators_test_valarray
  71. :
  72. : <target-os>linux
  73. <toolset>clang
  74. # TODO: Find the correct attribute that detects libc++.
  75. ;
  76. alias accumulators_test_valarray
  77. :
  78. : <target-os>darwin
  79. ;
  80. alias accumulators_test_valarray
  81. : [ run valarray.cpp ]
  82. ;
  83. alias accumulators_test_tail_variate_means
  84. :
  85. : <toolset>msvc
  86. <toolset-msvc:version>14.0
  87. ;
  88. alias accumulators_test_tail_variate_means
  89. : [ run tail_variate_means.cpp ]
  90. ;
  91. alias accumulators_tests_pot_quantile_and_weighted_tail
  92. :
  93. : <target-os>linux
  94. <toolset>gcc
  95. <toolset-gcc:version>4.4.7
  96. ;
  97. alias accumulators_tests_pot_quantile_and_weighted_tail
  98. : [ run pot_quantile.cpp ]
  99. [ run weighted_pot_quantile.cpp ]
  100. [ run weighted_tail_mean.cpp ]
  101. [ run weighted_tail_quantile.cpp ]
  102. ;
  103. alias accumulators_test_weighted_tail_variate_means
  104. :
  105. : <target-os>linux
  106. <toolset>gcc
  107. <toolset-gcc:version>4.4.7
  108. ;
  109. alias accumulators_test_weighted_tail_variate_means
  110. :
  111. : <toolset>msvc
  112. <toolset-msvc:version>14.0
  113. ;
  114. alias accumulators_test_weighted_tail_variate_means
  115. : [ run weighted_tail_variate_means.cpp ]
  116. ;
  117. test-suite "accumulators"
  118. : accumulators_regular_tests
  119. accumulators_test_valarray
  120. accumulators_test_tail_variate_means
  121. accumulators_tests_pot_quantile_and_weighted_tail
  122. accumulators_test_weighted_tail_variate_means
  123. ;