]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
1 | # Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. |
2 | ||
3 | # Distributed under the Boost Software License, Version 1.0. (See accompanying | |
4 | # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | import testing ; | |
7 | import path ; | |
8 | ||
9 | rule | |
10 | headers-compile-test ( headers * : requirements * : target-tag ? ) | |
11 | { | |
12 | local test-names = ; | |
13 | for local header in $(headers) | |
14 | { | |
15 | local target = hdr$(target-tag)-$(header:D=) ; | |
16 | compile header-test.cpp : $(requirements) <define>REVERGE_HEADER=\"\<boost/qvm/$(header:B).hpp\>\" <dependency>$(header) : $(target) ; | |
17 | test-names += $(target) ; | |
18 | } | |
19 | alias hdrtest$(target-tag) : $(test-names) ; | |
20 | } | |
21 | ||
22 | headers-compile-test [ glob ../include/boost/qvm/*.hpp ] | |
23 | : # requirements | |
24 | : # target-tag | |
25 | qvm | |
26 | ; | |
27 | ||
28 | run mat_traits_array_test.cpp ; | |
29 | run vec_traits_array_test.cpp ; | |
30 | run quat_traits_array_test.cpp ; | |
31 | ||
32 | run access_m_test.cpp ; | |
33 | compile-fail access_m_fail1.cpp ; | |
34 | compile-fail access_m_fail2.cpp ; | |
35 | ||
36 | run access_q_test.cpp ; | |
37 | compile-fail access_q_fail.cpp ; | |
38 | ||
39 | run access_v_test.cpp ; | |
40 | compile-fail access_v_fail1.cpp ; | |
41 | compile-fail access_v_fail2.cpp ; | |
42 | ||
43 | run assign_test.cpp ; | |
44 | ||
45 | run to_string_test.cpp ; | |
46 | ||
47 | run cmp_vv_test.cpp ; | |
48 | run cross_test.cpp ; | |
49 | run div_eq_vs_test.cpp ; | |
50 | run div_vs_test.cpp ; | |
51 | run dot_vv_test.cpp ; | |
52 | run eq_vv_test.cpp ; | |
53 | run mag_v_test.cpp ; | |
54 | run mag_sqr_v_test.cpp ; | |
55 | run minus_v_test.cpp ; | |
56 | run minus_eq_vv_test.cpp ; | |
57 | run minus_vv_test.cpp ; | |
58 | run mul_eq_vs_test.cpp ; | |
59 | run mul_vs_test.cpp ; | |
60 | run mul_sv_test.cpp ; | |
61 | run mul_vm_test.cpp ; | |
62 | run normalize_v_test.cpp ; | |
63 | run plus_eq_vv_test.cpp ; | |
64 | run plus_vv_test.cpp ; | |
65 | run scalar_cast_v_test.cpp ; | |
66 | run vec_index_test.cpp ; | |
67 | run vec_register_test.cpp ; | |
68 | ||
69 | run cmp_mm_test.cpp ; | |
70 | run determinant_test.cpp ; | |
71 | run div_eq_ms_test.cpp ; | |
72 | run div_ms_test.cpp ; | |
73 | run eq_mm_test.cpp ; | |
74 | run minus_m_test.cpp ; | |
75 | run minus_eq_mm_test.cpp ; | |
76 | run minus_mm_test.cpp ; | |
77 | run mul_eq_mm_test.cpp ; | |
78 | run mul_eq_ms_test.cpp ; | |
79 | run mul_mm_test.cpp ; | |
80 | run mul_ms_test.cpp ; | |
81 | run mul_sm_test.cpp ; | |
82 | run mul_mv_test.cpp ; | |
83 | run inverse_m_test.cpp ; | |
84 | run plus_eq_mm_test.cpp ; | |
85 | run plus_mm_test.cpp ; | |
86 | run scalar_cast_m_test.cpp ; | |
87 | run mat_index_test.cpp ; | |
88 | ||
89 | run cmp_qq_test.cpp ; | |
90 | run conjugate_test.cpp ; | |
91 | run normalize_q_test.cpp ; | |
92 | run div_eq_qs_test.cpp ; | |
93 | run div_qs_test.cpp ; | |
94 | run dot_qq_test.cpp ; | |
95 | run eq_qq_test.cpp ; | |
96 | run inverse_q_test.cpp ; | |
97 | run mag_q_test.cpp ; | |
98 | run mag_sqr_q_test.cpp ; | |
99 | run minus_q_test.cpp ; | |
100 | run minus_eq_qq_test.cpp ; | |
101 | run minus_qq_test.cpp ; | |
102 | run mul_eq_qs_test.cpp ; | |
103 | run mul_qs_test.cpp ; | |
104 | run mul_qv_test.cpp ; | |
105 | run mul_qq_test.cpp ; | |
106 | run mul_eq_qq_test.cpp ; | |
107 | run plus_eq_qq_test.cpp ; | |
108 | run plus_qq_test.cpp ; | |
109 | run scalar_cast_q_test.cpp ; | |
110 | run slerp_test.cpp ; | |
111 | ||
112 | run convert_to_test.cpp ; | |
113 | ||
114 | run rot_mat_test.cpp ; | |
115 | run rot_quat_test.cpp ; | |
116 | run rotx_mat_test.cpp ; | |
117 | run rotx_quat_test.cpp ; | |
118 | run roty_mat_test.cpp ; | |
119 | run roty_quat_test.cpp ; | |
120 | run rotz_mat_test.cpp ; | |
121 | run rotz_quat_test.cpp ; | |
122 | ||
123 | run zero_vec_test.cpp ; | |
124 | run zero_mat_test.cpp ; | |
125 | run zero_quat_test.cpp ; | |
126 | run identity_mat_test.cpp ; | |
127 | run identity_quat_test.cpp ; | |
128 | ||
129 | run col_test.cpp ; | |
130 | run col_mat_test.cpp ; | |
131 | run neg_col_test.cpp ; | |
132 | run neg_row_test.cpp ; | |
133 | run del_col_test.cpp ; | |
134 | run del_row_test.cpp ; | |
135 | run del_row_col_test.cpp ; | |
136 | run swap_cols_test.cpp ; | |
137 | run swap_rows_test.cpp ; | |
138 | run diag_test.cpp ; | |
139 | run diag_mat_test.cpp ; | |
140 | run row_test.cpp ; | |
141 | run row_mat_test.cpp ; | |
142 | run transpose_test.cpp ; | |
143 | run translation_test.cpp ; | |
144 | run translation_mat_test.cpp ; | |
145 | ||
146 | compile-fail swizzle_const_fail.cpp ; | |
147 | run swizzle2_test2.cpp ; | |
148 | run swizzle2_test3.cpp ; | |
149 | run swizzle2_test4.cpp ; | |
150 | run swizzle2_test.cpp ; | |
151 | run swizzle3_test2.cpp ; | |
152 | run swizzle3_test3.cpp ; | |
153 | run swizzle3_test4.cpp ; | |
154 | run swizzle3_test.cpp ; | |
155 | run swizzle4_test2.cpp ; | |
156 | run swizzle4_test3.cpp ; | |
157 | run swizzle4_test4.cpp ; | |
158 | run swizzle4_test.cpp ; | |
159 | ||
160 | compile deduce_scalar_test.cpp ; | |
161 | compile-fail deduce_scalar_fail1.cpp ; | |
162 | compile-fail deduce_scalar_fail2.cpp ; | |
163 | compile-fail deduce_scalar_fail3.cpp ; | |
164 | ||
165 | compile deduce_matrix_test.cpp ; | |
166 | compile deduce_vector_test.cpp ; | |
167 | ||
168 | run interop_test.cpp ; | |
169 | ||
170 | run transform_test.cpp ; | |
171 | ||
172 | run projection_test.cpp ; | |
173 | ||
174 | compile scalar_traits_test.cpp ; |