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