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 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
|
# Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
# 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)
import testing ;
import path ;
rule
headers-compile-test ( headers * : requirements * : target-tag ? )
{
local test-names = ;
for local header in $(headers)
{
local target = hdr$(target-tag)-$(header:D=) ;
compile header-test.cpp : $(requirements) <define>REVERGE_HEADER=\"\<boost/qvm/$(header:B).hpp\>\" <dependency>$(header) : $(target) ;
test-names += $(target) ;
}
alias hdrtest$(target-tag) : $(test-names) ;
}
headers-compile-test [ glob ../include/boost/qvm/*.hpp ]
: # requirements
: # target-tag
qvm
;
run math_test.cpp ;
run mat_traits_array_test.cpp ;
run vec_traits_array_test.cpp ;
run quat_traits_array_test.cpp ;
run access_m_test.cpp ;
compile-fail access_m_fail1.cpp ;
compile-fail access_m_fail2.cpp ;
run access_q_test.cpp ;
compile-fail access_q_fail.cpp ;
run access_v_test.cpp ;
compile-fail access_v_fail1.cpp ;
compile-fail access_v_fail2.cpp ;
run assign_test.cpp ;
run to_string_test.cpp ;
run cmp_vv_test.cpp ;
run cross_test.cpp ;
run div_eq_vs_test.cpp ;
run div_vs_test.cpp ;
run dot_vv_test.cpp ;
run eq_vv_test.cpp ;
run mag_v_test.cpp ;
run mag_sqr_v_test.cpp ;
run minus_v_test.cpp ;
run minus_eq_vv_test.cpp ;
run minus_vv_test.cpp ;
run mul_eq_vs_test.cpp ;
run mul_vs_test.cpp ;
run mul_sv_test.cpp ;
run mul_vm_test.cpp ;
run normalize_v_test.cpp ;
run plus_eq_vv_test.cpp ;
run plus_vv_test.cpp ;
run scalar_cast_v_test.cpp ;
run vec_index_test.cpp ;
run vec_register_test.cpp ;
run cmp_mm_test.cpp ;
run determinant_test.cpp ;
run div_eq_ms_test.cpp ;
run div_ms_test.cpp ;
run eq_mm_test.cpp ;
run minus_m_test.cpp ;
run minus_eq_mm_test.cpp ;
run minus_mm_test.cpp ;
run mul_eq_mm_test.cpp ;
run mul_eq_ms_test.cpp ;
run mul_mm_test.cpp ;
run mul_ms_test.cpp ;
run mul_sm_test.cpp ;
run mul_mv_test.cpp ;
run inverse_m_test.cpp ;
run plus_eq_mm_test.cpp ;
run plus_mm_test.cpp ;
run scalar_cast_m_test.cpp ;
run mat_index_test.cpp ;
run cmp_qq_test.cpp ;
run conjugate_test.cpp ;
run normalize_q_test.cpp ;
run div_eq_qs_test.cpp ;
run div_qs_test.cpp ;
run dot_qq_test.cpp ;
run eq_qq_test.cpp ;
run inverse_q_test.cpp ;
run mag_q_test.cpp ;
run mag_sqr_q_test.cpp ;
run minus_q_test.cpp ;
run minus_eq_qq_test.cpp ;
run minus_qq_test.cpp ;
run mul_eq_qs_test.cpp ;
run mul_qs_test.cpp ;
run mul_qv_test.cpp ;
run mul_qq_test.cpp ;
run mul_eq_qq_test.cpp ;
run plus_eq_qq_test.cpp ;
run plus_qq_test.cpp ;
run scalar_cast_q_test.cpp ;
run slerp_test.cpp ;
run convert_to_test.cpp ;
run rot_mat_test.cpp ;
run rot_quat_test.cpp ;
run rotx_mat_test.cpp ;
run rotx_quat_test.cpp ;
run roty_mat_test.cpp ;
run roty_quat_test.cpp ;
run rotz_mat_test.cpp ;
run rotz_quat_test.cpp ;
run zero_vec_test.cpp ;
run zero_mat_test.cpp ;
run zero_quat_test.cpp ;
run identity_mat_test.cpp ;
run identity_quat_test.cpp ;
run col_test.cpp ;
run col_mat_test.cpp ;
run neg_col_test.cpp ;
run neg_row_test.cpp ;
run del_col_test.cpp ;
run del_row_test.cpp ;
run del_row_col_test.cpp ;
run swap_cols_test.cpp ;
run swap_rows_test.cpp ;
run diag_test.cpp ;
run diag_mat_test.cpp ;
run row_test.cpp ;
run row_mat_test.cpp ;
run transpose_test.cpp ;
run translation_test.cpp ;
run translation_mat_test.cpp ;
compile-fail swizzle_const_fail.cpp ;
run swizzle2_test2.cpp ;
run swizzle2_test3.cpp ;
run swizzle2_test4.cpp ;
run swizzle2_test.cpp ;
run swizzle3_test2.cpp ;
run swizzle3_test3.cpp ;
run swizzle3_test4.cpp ;
run swizzle3_test.cpp ;
run swizzle4_test2.cpp ;
run swizzle4_test3.cpp ;
run swizzle4_test4.cpp ;
run swizzle4_test.cpp ;
compile deduce_scalar_test.cpp ;
compile-fail deduce_scalar_fail1.cpp ;
compile-fail deduce_scalar_fail2.cpp ;
compile-fail deduce_scalar_fail3.cpp ;
compile deduce_matrix_test.cpp ;
compile deduce_vector_test.cpp ;
run interop_test.cpp ;
run transform_test.cpp ;
run projection_test.cpp ;
compile scalar_traits_test.cpp ;
|