summaryrefslogtreecommitdiff
path: root/libs/icl/test/Jamfile.v2
blob: 2a25b8e1ae754ae0478d20ca27b62e2aa776cfd9 (plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
# (C) Copyright 2008-2011: Joachim Faulhaber
# Distributed under 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)

# bring in rules for testing
import testing ;
import feature ;

project
    : requirements
      <library>/boost/test//boost_unit_test_framework
      <library>/boost/date_time//boost_date_time
      <library>/boost/chrono//boost_chrono
      <link>static
      <include>../../..
    ;

test-suite "itl"
    : 
      # interval
      [ run fastest_icl_interval_/fastest_icl_interval.cpp ]
      
      # sets
      [ run fastest_interval_set_/fastest_interval_set.cpp ]
      [ run fastest_interval_set_infix_/fastest_interval_set_infix.cpp ]
      
      [ run fastest_separate_interval_set_/fastest_separate_interval_set.cpp ]
      [ run fastest_separate_interval_set_infix_/fastest_separate_interval_set_infix.cpp ]
      
      [ run fastest_split_interval_set_/fastest_split_interval_set.cpp ]
      [ run fastest_split_interval_set_infix_/fastest_split_interval_set_infix.cpp ]
            
      [ run fastest_interval_set_mixed_/fastest_interval_set_mixed.cpp ]
      
      # maps
      [ run fastest_interval_map_/fastest_interval_map.cpp ]
      
      [ run fast_stat_interval_map_/fast_stat_interval_map.cpp 
            : : : : interval_map_right_open ]
      [ run fast_stat_interval_map_/fast_stat_interval_map.cpp 
            : : : <define>BOOST_ICL_CONTINUOUS_STATIC_INTERVAL_DEFAULT=left_open_interval
            : interval_map_left_open ]
      
      [ run fastest_interval_map_infix_/fastest_interval_map_infix.cpp ]
      [ run fastest_split_interval_map_/fastest_split_interval_map.cpp ]
      [ run fastest_split_interval_map_infix_/fastest_split_interval_map_infix.cpp ]
      [ run fastest_interval_map_mixed_/fastest_interval_map_mixed.cpp ]
      [ run fastest_interval_map_mixed2_/fastest_interval_map_mixed2.cpp ]
      [ run fastest_interval_map_infix_mixed_/fastest_interval_map_infix_mixed.cpp ]
      [ run fastest_icl_map_/fastest_icl_map.cpp ]

      # handcoded tests using laws (not LaBatea) -------------------------------
      # Concept Set
      [ run fastest_set_interval_set_/fastest_set_interval_set.cpp ]
      [ run fastest_set_icl_set_/fastest_set_icl_set.cpp ]
      
      # Concept Map 
      [ run fastest_partial_interval_quantifier_/fastest_partial_interval_quantifier.cpp ]
      [ run fastest_total_interval_quantifier_/fastest_total_interval_quantifier.cpp ]            
      [ run fastest_partial_icl_quantifier_/fastest_partial_icl_quantifier.cpp ]
      [ run fastest_total_icl_quantifier_/fastest_total_icl_quantifier.cpp ]   
      
      # Misc -------------------------------------------------------------------         
      [ run test_misc_/test_misc.cpp ]   
      [ run test_doc_code_/test_doc_code.cpp ]   
      [ run test_type_traits_/test_type_traits.cpp ]   
      # test_combinable is too slow or too large for some compilers
      #[ run test_combinable_/test_combinable.cpp ]   
      [ run test_changing_interval_defaults_/test_changing_interval_defaults.cpp ]   
      
      # Bug fixes --------------------------------------------------------------
      [ run fix_icl_after_thread_/fix_icl_after_thread.cpp ] 
      [ run fix_tickets_/fix_tickets.cpp ] 
      
      # Check for compiler bugs ------------------------------------------------
      # compile-fail-tests  
      [ run cmp_msvc_value_born_error_/cmp_msvc_value_born_error.cpp ]   
      [ run cmp_clang_ttp_passing_/cmp_clang_ttp_passing.cpp ]   
      [ run cmp_clang_ttp_passing2_/cmp_clang_ttp_passing2.cpp ]
      
      # Ad hoc -----------------------------------------------------------------
      #[ run test_casual_/test_casual.cpp ]


      # ========================================================================
      # Chrono -----------------------------------------------------------------
      # interval
      [ run fastest_icl_interval_/fastest_icl_interval.cpp 
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_icl_interval ]

      # sets
      [ run fastest_interval_set_/fastest_interval_set.cpp 
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_set ]
            
      [ run fastest_interval_set_infix_/fastest_interval_set_infix.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_set_infix ]
               
      [ run fastest_interval_set_mixed_/fastest_interval_set_mixed.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_set_mixed ]
            
      # maps
      [ run fastest_interval_map_/fastest_interval_map.cpp 
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_map ]

      [ run fastest_interval_map_infix_/fastest_interval_map_infix.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_map_infix ]
            
      [ run fastest_interval_map_mixed_/fastest_interval_map_mixed.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_map_mixed ]
      
      [ run fastest_interval_map_mixed2_/fastest_interval_map_mixed2.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_map_mixed2 ]
      
      [ run fastest_interval_map_infix_mixed_/fastest_interval_map_infix_mixed.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_interval_map_infix_mixed ]
      
      [ run fastest_icl_map_/fastest_icl_map.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_icl_map ]
      

      # handcoded tests using laws (not LaBatea) -------------------------------
      # Concept Set
      [ run fastest_set_interval_set_/fastest_set_interval_set.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_set_interval_set ]
            
      [ run fastest_set_icl_set_/fastest_set_icl_set.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_set_icl_set ]
      
      # Concept Map 
      [ run fastest_partial_interval_quantifier_/fastest_partial_interval_quantifier.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_partial_interval_quantifier ]
      
      [ run fastest_total_interval_quantifier_/fastest_total_interval_quantifier.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_total_interval_quantifier ]
            
      [ run fastest_partial_icl_quantifier_/fastest_partial_icl_quantifier.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_partial_icl_quantifier ]
            
      [ run fastest_total_icl_quantifier_/fastest_total_icl_quantifier.cpp
            : : : <define>BOOST_ICL_TEST_CHRONO
            : chrono_total_icl_quantifier ]
      
    ;