]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/safe_numerics/test/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / safe_numerics / test / Jamfile.v2
CommitLineData
92f5a8d4
TL
1# Boost.SafeNumerics Library test Jamfile
2#
3# Copyright (c) 2017 Robert Ramey
4#
5# Distributed under the Boost Software License, Version 1.0.
6# See accompanying file LICENSE_1_0.txt or copy at
7# http://www.boost.org/LICENSE_1_0.txt
8
9import testing ;
10import ../../config/checks/config : requires ;
11project
12 : requirements
13 [ requires cxx14_constexpr ]
14 # toolset optimizations
20effc67 15 <c++-template-depth>256
f67539c2 16 <warnings>extra
20effc67 17 <toolset>clang:<cxxflags>-fbracket-depth=2048
92f5a8d4
TL
18 ;
19
20# compile and run tests
21
22run test_add_automatic.cpp ;
23run test_add_native.cpp ;
24run test_and_automatic.cpp ;
25run test_and_native.cpp ;
26run test_assignment.cpp ;
27run test_auto.cpp ;
28run test_cast.cpp ;
29
30run test_checked_add.cpp ;
31run test_checked_and.cpp ;
32run test_checked_cast.cpp ;
33run test_checked_divide.cpp ;
34run test_checked_equal_to.cpp ;
35run test_checked_left_shift.cpp ;
36run test_checked_less_than.cpp ;
37run test_checked_modulus.cpp ;
38run test_checked_multiply.cpp ;
39run test_checked_or.cpp ;
40run test_checked_right_shift.cpp ;
41run test_checked_subtract.cpp ;
42run test_checked_xor.cpp ;
43
44run test_construction.cpp ;
45run test_cpp.cpp ;
46run test_divide_automatic.cpp ;
47run test_divide_native.cpp ;
48run test_equal_automatic.cpp ;
49run test_equal_native.cpp ;
50run test_float.cpp ;
51run test_interval.cpp ;
52run test_left_shift_automatic.cpp ;
53run test_left_shift_native.cpp ;
54run test_less_than_automatic.cpp ;
55run test_less_than_native.cpp ;
56run test_modulus_automatic.cpp ;
57run test_modulus_native.cpp ;
58run test_multiply_automatic.cpp ;
59run test_multiply_native.cpp ;
60run test_or_automatic.cpp ;
61run test_or_native.cpp ;
62run test_performance.cpp # sources
63 : # args
64 : # input
65 : <variant>debug:<build>no # requirements
66 ;
67run test_range.cpp ;
68run test_rational.cpp ;
69run test_right_shift_automatic.cpp ;
70run test_right_shift_native.cpp ;
71run test_safe_compare.cpp ;
72run test_subtract_automatic.cpp ;
73run test_subtract_native.cpp ;
74run test_xor_automatic.cpp ;
75run test_xor_native.cpp ;
20effc67 76run test_custom_exception.cpp ;
92f5a8d4
TL
77run test_z.cpp ;
78
79# compile fail tests
80
92f5a8d4 81compile-fail test_trap.cpp ;
1e59de90
TL
82compile-fail test_constexpr.cpp ;
83
84# compile success tests
85
86compile test_concept_numeric.cpp ;
87compile test_concept_integer.cpp ;
92f5a8d4
TL
88
89# safe integer constexpr tests
90
f67539c2 91compile test_cast_constexpr.cpp ;
92f5a8d4
TL
92compile test_add_automatic_constexpr.cpp ;
93compile test_add_native_constexpr.cpp ;
94compile test_divide_automatic_constexpr.cpp ;
95compile test_divide_native_constexpr.cpp ;
96compile test_equal_automatic_constexpr.cpp ;
97compile test_equal_native_constexpr.cpp ;
98compile test_left_shift_automatic_constexpr.cpp ;
99compile test_left_shift_native_constexpr.cpp ;
100compile test_less_than_automatic_constexpr.cpp ;
101compile test_less_than_native_constexpr.cpp ;
102compile test_modulus_automatic_constexpr.cpp ;
103compile test_modulus_native_constexpr.cpp ;
104compile test_multiply_automatic_constexpr.cpp ;
105compile test_multiply_native_constexpr.cpp ;
106compile test_or_automatic_constexpr.cpp ;
107compile test_or_native_constexpr.cpp ;
1e59de90 108compile test_stream_overload.cpp ;
92f5a8d4
TL
109compile test_right_shift_automatic_constexpr.cpp ;
110compile test_right_shift_native_constexpr.cpp ;
111compile test_xor_automatic_constexpr.cpp ;
112compile test_xor_native_constexpr.cpp ;
113compile test_subtract_native_constexpr.cpp ;
114compile test_subtract_automatic_constexpr.cpp ;
115
116# checked results constexpr
117
118compile test_checked_add_constexpr.cpp ;
119compile test_checked_and_constexpr.cpp ;
120compile test_checked_cast_constexpr.cpp ;
121compile test_checked_divide_constexpr.cpp ;
122compile test_checked_equal_to_constexpr.cpp ;
123compile test_checked_left_shift_constexpr.cpp ;
124compile test_checked_less_than_constexpr.cpp ;
125compile test_checked_modulus_constexpr.cpp ;
126compile test_checked_multiply_constexpr.cpp ;
127compile test_checked_or_constexpr.cpp ;
128compile test_checked_right_shift_constexpr.cpp ;
129compile test_checked_subtract_constexpr.cpp ;
130compile test_checked_xor_constexpr.cpp ;
131