Jamfile.v2 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # Boost algorithm library test suite Jamfile ----------------------------
  2. #
  3. # Copyright Marshall Clow 2010-2012. Use, modification and
  4. # distribution is subject to the Boost Software License, Version
  5. # 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. # http://www.boost.org/LICENSE_1_0.txt)
  7. #
  8. # See http://www.boost.org for updates, documentation, and revision history.
  9. import testing ;
  10. alias unit_test_framework
  11. : # sources
  12. /boost//unit_test_framework
  13. ;
  14. {
  15. test-suite algorithm
  16. # Search tests
  17. : [ run empty_search_test.cpp unit_test_framework : : : : empty_search_test ]
  18. [ run search_test1.cpp unit_test_framework : : : : search_test1 ]
  19. [ run search_test2.cpp unit_test_framework : : : : search_test2 ]
  20. [ run search_test3.cpp unit_test_framework : : : : search_test3 ]
  21. [ run search_test4.cpp unit_test_framework : : : : search_test4 ]
  22. [ compile-fail search_fail1.cpp : : : : ]
  23. [ compile-fail search_fail2.cpp : : : : ]
  24. [ compile-fail search_fail3.cpp : : : : ]
  25. # Misc tests
  26. [ run clamp_test.cpp unit_test_framework : : : : clamp_test ]
  27. [ run power_test.cpp unit_test_framework : : : : power_test ]
  28. [ compile-fail power_fail1.cpp : : : : ]
  29. # Cxx11 tests
  30. [ run all_of_test.cpp unit_test_framework : : : : all_of_test ]
  31. [ run any_of_test.cpp unit_test_framework : : : : any_of_test ]
  32. [ run none_of_test.cpp unit_test_framework : : : : none_of_test ]
  33. [ run one_of_test.cpp unit_test_framework : : : : one_of_test ]
  34. [ run ordered_test.cpp unit_test_framework : : : : ordered_test ]
  35. [ run find_if_not_test1.cpp unit_test_framework : : : : find_if_not_test1 ]
  36. [ run copy_if_test1.cpp unit_test_framework : : : : copy_if_test1 ]
  37. [ run copy_n_test1.cpp unit_test_framework : : : : copy_n_test1 ]
  38. [ run iota_test1.cpp unit_test_framework : : : : iota_test1 ]
  39. [ run is_permutation_test1.cpp unit_test_framework : : : : is_permutation_test1 ]
  40. [ run partition_point_test1.cpp unit_test_framework : : : : partition_point_test1 ]
  41. [ run is_partitioned_test1.cpp unit_test_framework : : : : is_partitioned_test1 ]
  42. [ run partition_copy_test1.cpp unit_test_framework : : : : partition_copy_test1 ]
  43. # Cxx14 tests
  44. [ run equal_test.cpp unit_test_framework : : : : equal_test ]
  45. [ run mismatch_test.cpp unit_test_framework : : : : mismatch_test ]
  46. # Cxx17 tests
  47. [ run for_each_n_test.cpp unit_test_framework : : : : for_each_n_test ]
  48. [ run reduce_test.cpp unit_test_framework : : : : reduce_test ]
  49. [ run transform_reduce_test.cpp unit_test_framework : : : : transform_reduce_test ]
  50. [ run inclusive_scan_test.cpp unit_test_framework : : : : inclusive_scan_test ]
  51. [ run exclusive_scan_test.cpp unit_test_framework : : : : exclusive_scan_test ]
  52. [ run transform_inclusive_scan_test.cpp unit_test_framework : : : : transform_inclusive_scan_test ]
  53. [ run transform_exclusive_scan_test.cpp unit_test_framework : : : : transform_exclusive_scan_test ]
  54. # Maybe GCD and LCM as well
  55. # Hex tests
  56. [ run hex_test1.cpp unit_test_framework : : : : hex_test1 ]
  57. [ run hex_test2.cpp unit_test_framework : : : : hex_test2 ]
  58. [ run hex_test3.cpp unit_test_framework : : : : hex_test3 ]
  59. [ run hex_test4.cpp unit_test_framework : : : : hex_test4 ]
  60. [ compile-fail hex_fail1.cpp ]
  61. # Gather tests
  62. [ run gather_test1.cpp unit_test_framework : : : : gather_test1 ]
  63. [ compile-fail gather_fail1.cpp ]
  64. # SortSubrange tests
  65. [ run sort_subrange_test.cpp unit_test_framework : : : : sort_subrange_test ]
  66. [ run partition_subrange_test.cpp unit_test_framework : : : : partition_subrange_test ]
  67. # Is_palindrome tests
  68. [ run is_palindrome_test.cpp unit_test_framework : : : : is_palindrome_test ]
  69. # Is_partitioned_until tests
  70. [ run is_partitioned_until_test.cpp unit_test_framework : : : : is_partitioned_until_test ]
  71. # Apply_permutation tests
  72. [ run apply_permutation_test.cpp unit_test_framework : : : : apply_permutation_test ]
  73. # Find tests
  74. [ run find_not_test.cpp unit_test_framework : : : : find_not_test ]
  75. [ run find_backward_test.cpp unit_test_framework : : : : find_backward_test ]
  76. ;
  77. }