1# (C) Copyright 2008-2011: Joachim Faulhaber
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
5# bring in rules for testing
6import testing ;
7import feature ;
8
9project
10    : requirements
11      <library>/boost/test//boost_unit_test_framework
12      <library>/boost/chrono//boost_chrono
13      <link>static
14      <include>../../..
15    ;
16
17test-suite "itl"
18    :
19      # interval
20      [ run fastest_icl_interval_/fastest_icl_interval.cpp ]
21
22      # sets
23      [ run fastest_interval_set_/fastest_interval_set.cpp ]
24      [ run fastest_interval_set_infix_/fastest_interval_set_infix.cpp ]
25
26      [ run fastest_separate_interval_set_/fastest_separate_interval_set.cpp ]
27      [ run fastest_separate_interval_set_infix_/fastest_separate_interval_set_infix.cpp ]
28
29      [ run fastest_split_interval_set_/fastest_split_interval_set.cpp ]
30      [ run fastest_split_interval_set_infix_/fastest_split_interval_set_infix.cpp ]
31
32      [ run fastest_interval_set_mixed_/fastest_interval_set_mixed.cpp ]
33
34      # maps
35      [ run fastest_interval_map_/fastest_interval_map.cpp ]
36
37      [ run fast_stat_interval_map_/fast_stat_interval_map.cpp
38            : : : : interval_map_right_open ]
39      [ run fast_stat_interval_map_/fast_stat_interval_map.cpp
40            : : : <define>BOOST_ICL_CONTINUOUS_STATIC_INTERVAL_DEFAULT=left_open_interval
41            : interval_map_left_open ]
42
43      [ run fastest_interval_map_infix_/fastest_interval_map_infix.cpp ]
44      [ run fastest_split_interval_map_/fastest_split_interval_map.cpp ]
45      [ run fastest_split_interval_map_infix_/fastest_split_interval_map_infix.cpp ]
46      [ run fastest_interval_map_mixed_/fastest_interval_map_mixed.cpp ]
47      [ run fastest_interval_map_mixed2_/fastest_interval_map_mixed2.cpp ]
48      [ run fastest_interval_map_infix_mixed_/fastest_interval_map_infix_mixed.cpp ]
49      [ run fastest_icl_map_/fastest_icl_map.cpp ]
50
51      # handcoded tests using laws (not LaBatea) -------------------------------
52      # Concept Set
53      [ run fastest_set_interval_set_/fastest_set_interval_set.cpp ]
54      [ run fastest_set_icl_set_/fastest_set_icl_set.cpp ]
55
56      # Concept Map
57      [ run fastest_partial_interval_quantifier_/fastest_partial_interval_quantifier.cpp ]
58      [ run fastest_total_interval_quantifier_/fastest_total_interval_quantifier.cpp ]
59      [ run fastest_partial_icl_quantifier_/fastest_partial_icl_quantifier.cpp ]
60      [ run fastest_total_icl_quantifier_/fastest_total_icl_quantifier.cpp ]
61
62      # Misc -------------------------------------------------------------------
63      [ run test_misc_/test_misc.cpp ]
64      [ run test_doc_code_/test_doc_code.cpp ]
65      [ run test_type_traits_/test_type_traits.cpp ]
66      # test_combinable is too slow or too large for some compilers
67      #[ run test_combinable_/test_combinable.cpp ]
68      [ run test_changing_interval_defaults_/test_changing_interval_defaults.cpp ]
69
70      # Bug fixes --------------------------------------------------------------
71      [ run fix_icl_after_thread_/fix_icl_after_thread.cpp ]
72      [ run fix_tickets_/fix_tickets.cpp ]
73
74      # Check for compiler bugs ------------------------------------------------
75      # compile-fail-tests
76      [ run cmp_msvc_value_born_error_/cmp_msvc_value_born_error.cpp ]
77      [ run cmp_clang_ttp_passing_/cmp_clang_ttp_passing.cpp ]
78      [ run cmp_clang_ttp_passing2_/cmp_clang_ttp_passing2.cpp ]
79
80      # Examples ---------------------------------------------------------------
81      [ run ex_boost_party_/ex_boost_party.cpp ]
82
83      # Ad hoc -----------------------------------------------------------------
84      #[ run test_casual_/test_casual.cpp ]
85
86
87      # ========================================================================
88      # Chrono -----------------------------------------------------------------
89      # interval
90      [ run fastest_icl_interval_/fastest_icl_interval.cpp
91            : : : <define>BOOST_ICL_TEST_CHRONO
92            : chrono_icl_interval ]
93
94      # sets
95      [ run fastest_interval_set_/fastest_interval_set.cpp
96            : : : <define>BOOST_ICL_TEST_CHRONO
97            : chrono_interval_set ]
98
99      [ run fastest_interval_set_infix_/fastest_interval_set_infix.cpp
100            : : : <define>BOOST_ICL_TEST_CHRONO
101            : chrono_interval_set_infix ]
102
103      [ run fastest_interval_set_mixed_/fastest_interval_set_mixed.cpp
104            : : : <define>BOOST_ICL_TEST_CHRONO
105            : chrono_interval_set_mixed ]
106
107      # maps
108      [ run fastest_interval_map_/fastest_interval_map.cpp
109            : : : <define>BOOST_ICL_TEST_CHRONO
110            : chrono_interval_map ]
111
112      [ run fastest_interval_map_infix_/fastest_interval_map_infix.cpp
113            : : : <define>BOOST_ICL_TEST_CHRONO
114            : chrono_interval_map_infix ]
115
116      [ run fastest_interval_map_mixed_/fastest_interval_map_mixed.cpp
117            : : : <define>BOOST_ICL_TEST_CHRONO
118            : chrono_interval_map_mixed ]
119
120      [ run fastest_interval_map_mixed2_/fastest_interval_map_mixed2.cpp
121            : : : <define>BOOST_ICL_TEST_CHRONO
122            : chrono_interval_map_mixed2 ]
123
124      [ run fastest_interval_map_infix_mixed_/fastest_interval_map_infix_mixed.cpp
125            : : : <define>BOOST_ICL_TEST_CHRONO
126            : chrono_interval_map_infix_mixed ]
127
128      [ run fastest_icl_map_/fastest_icl_map.cpp
129            : : : <define>BOOST_ICL_TEST_CHRONO
130            : chrono_icl_map ]
131
132
133      # handcoded tests using laws (not LaBatea) -------------------------------
134      # Concept Set
135      [ run fastest_set_interval_set_/fastest_set_interval_set.cpp
136            : : : <define>BOOST_ICL_TEST_CHRONO
137            : chrono_set_interval_set ]
138
139      [ run fastest_set_icl_set_/fastest_set_icl_set.cpp
140            : : : <define>BOOST_ICL_TEST_CHRONO
141            : chrono_set_icl_set ]
142
143      # Concept Map
144      [ run fastest_partial_interval_quantifier_/fastest_partial_interval_quantifier.cpp
145            : : : <define>BOOST_ICL_TEST_CHRONO
146            : chrono_partial_interval_quantifier ]
147
148      [ run fastest_total_interval_quantifier_/fastest_total_interval_quantifier.cpp
149            : : : <define>BOOST_ICL_TEST_CHRONO
150            : chrono_total_interval_quantifier ]
151
152      [ run fastest_partial_icl_quantifier_/fastest_partial_icl_quantifier.cpp
153            : : : <define>BOOST_ICL_TEST_CHRONO
154            : chrono_partial_icl_quantifier ]
155
156      [ run fastest_total_icl_quantifier_/fastest_total_icl_quantifier.cpp
157            : : : <define>BOOST_ICL_TEST_CHRONO
158            : chrono_total_icl_quantifier ]
159
160    ;
161