File: Jamfile.v2

package info (click to toggle)
boost1.90 1.90.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 593,156 kB
  • sloc: cpp: 4,190,642; xml: 196,648; python: 34,618; ansic: 23,145; asm: 5,468; sh: 3,776; makefile: 1,161; perl: 1,020; sql: 728; ruby: 676; yacc: 478; java: 77; lisp: 24; csh: 6
file content (96 lines) | stat: -rw-r--r-- 4,646 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#  Boost algorithm library test suite Jamfile  ----------------------------
#
#  Copyright Marshall Clow 2010-2012. Use, modification and
#  distribution is subject to the Boost Software License, Version
#  1.0. (See accompanying file LICENSE_1_0.txt or copy at
#  http://www.boost.org/LICENSE_1_0.txt)
#
#  See http://www.boost.org for updates, documentation, and revision history.

import testing ;

alias unit_test_framework
    : # sources
        /boost//unit_test_framework
    ;


{
  test-suite algorithm
# Search tests
   : [ run empty_search_test.cpp unit_test_framework      : : : : empty_search_test ]
     [ run search_test1.cpp unit_test_framework           : : : : search_test1 ]
     [ run search_test2.cpp unit_test_framework           : : : : search_test2 ]
     [ run search_test3.cpp unit_test_framework           : : : : search_test3 ]
     [ run search_test4.cpp unit_test_framework           : : : : search_test4 ]
     [ compile-fail search_fail1.cpp  : : : : ]
     [ compile-fail search_fail2.cpp  : : : : ]
     [ compile-fail search_fail3.cpp  : : : : ]

# Misc tests
     [ run clamp_test.cpp unit_test_framework         : : : : clamp_test ]
     [ run is_clamped_test.cpp unit_test_framework    : : : : is_clamped_test ]
     [ run power_test.cpp unit_test_framework         : : : : power_test ]
     [ compile-fail power_fail1.cpp  : : : : ]

# Cxx11 tests
     [ run all_of_test.cpp unit_test_framework         : : : : all_of_test ]
     [ run any_of_test.cpp unit_test_framework         : : : : any_of_test ]
     [ run none_of_test.cpp unit_test_framework        : : : : none_of_test ]
     [ run one_of_test.cpp unit_test_framework         : : : : one_of_test ]

     [ run ordered_test.cpp unit_test_framework        : : : : ordered_test ]
     [ run find_if_not_test1.cpp unit_test_framework   : : : : find_if_not_test1 ]
     [ run copy_if_test1.cpp unit_test_framework        : : : : copy_if_test1 ]
     [ run copy_n_test1.cpp unit_test_framework       : : : : copy_n_test1 ]
     [ run iota_test1.cpp unit_test_framework          : : : : iota_test1 ]

     [ run is_permutation_test1.cpp unit_test_framework         : : : : is_permutation_test1 ]
     [ run partition_point_test1.cpp unit_test_framework        : : : : partition_point_test1 ]
     [ run is_partitioned_test1.cpp unit_test_framework         : : : : is_partitioned_test1 ]
     [ run partition_copy_test1.cpp unit_test_framework         : : : : partition_copy_test1 ]

# Cxx14 tests
     [ run equal_test.cpp unit_test_framework         : : : : equal_test ]
     [ run mismatch_test.cpp unit_test_framework      : : : : mismatch_test ]

# Cxx17 tests
     [ run for_each_n_test.cpp unit_test_framework         : : : : for_each_n_test ]
     [ run reduce_test.cpp unit_test_framework             : : : : reduce_test ]
     [ run transform_reduce_test.cpp unit_test_framework   : : : : transform_reduce_test ]
     [ run inclusive_scan_test.cpp unit_test_framework             : : : : inclusive_scan_test ]
     [ run exclusive_scan_test.cpp unit_test_framework             : : : : exclusive_scan_test ]
     [ run transform_inclusive_scan_test.cpp unit_test_framework   : : : : transform_inclusive_scan_test ]
     [ run transform_exclusive_scan_test.cpp unit_test_framework   : : : : transform_exclusive_scan_test ]
# Maybe GCD and LCM as well

# Hex tests
     [ run hex_test1.cpp unit_test_framework         : : : : hex_test1 ]
     [ run hex_test2.cpp unit_test_framework         : : : : hex_test2 ]
     [ run hex_test3.cpp unit_test_framework         : : : : hex_test3 ]
     [ run hex_test4.cpp unit_test_framework         : : : : hex_test4 ]
     [ run mclow.cpp unit_test_framework             : : : : mclow     ]
     [ compile-fail hex_fail1.cpp ]

# Gather tests
     [ run gather_test1.cpp unit_test_framework        : : : : gather_test1 ]
     [ compile-fail gather_fail1.cpp ]

# SortSubrange tests
     [ run sort_subrange_test.cpp unit_test_framework       : : : : sort_subrange_test ]
     [ run partition_subrange_test.cpp unit_test_framework  : : : : partition_subrange_test ]

# Is_palindrome tests
     [ run is_palindrome_test.cpp unit_test_framework    : : : : is_palindrome_test ]

# Is_partitioned_until tests
     [ run is_partitioned_until_test.cpp unit_test_framework    : : : : is_partitioned_until_test ]
   
# Apply_permutation tests
     [ run apply_permutation_test.cpp unit_test_framework    : : : : apply_permutation_test ]
# Find tests
     [ run find_not_test.cpp unit_test_framework   : : : : find_not_test ]
     [ run find_backward_test.cpp unit_test_framework   : : : : find_backward_test ]
   ;
}