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 6import testing ; 7import path ; 8 9rule 10headers-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 22headers-compile-test [ glob ../include/boost/qvm/*.hpp ] 23 : # requirements 24 : # target-tag 25 qvm 26 ; 27 28run math_test.cpp ; 29 30run mat_traits_array_test.cpp ; 31run vec_traits_array_test.cpp ; 32run quat_traits_array_test.cpp ; 33 34run access_m_test.cpp ; 35compile-fail access_m_fail1.cpp ; 36compile-fail access_m_fail2.cpp ; 37 38run access_q_test.cpp ; 39compile-fail access_q_fail.cpp ; 40 41run access_v_test.cpp ; 42compile-fail access_v_fail1.cpp ; 43compile-fail access_v_fail2.cpp ; 44 45run assign_test.cpp ; 46 47run to_string_test.cpp ; 48 49run cmp_vv_test.cpp ; 50run cross_test.cpp ; 51run div_eq_vs_test.cpp ; 52run div_vs_test.cpp ; 53run dot_vv_test.cpp ; 54run eq_vv_test.cpp ; 55run mag_v_test.cpp ; 56run mag_sqr_v_test.cpp ; 57run minus_v_test.cpp ; 58run minus_eq_vv_test.cpp ; 59run minus_vv_test.cpp ; 60run mul_eq_vs_test.cpp ; 61run mul_vs_test.cpp ; 62run mul_sv_test.cpp ; 63run mul_vm_test.cpp ; 64run normalize_v_test.cpp ; 65run plus_eq_vv_test.cpp ; 66run plus_vv_test.cpp ; 67run scalar_cast_v_test.cpp ; 68run vec_index_test.cpp ; 69run vec_register_test.cpp ; 70 71run cmp_mm_test.cpp ; 72run determinant_test.cpp ; 73run div_eq_ms_test.cpp ; 74run div_ms_test.cpp ; 75run eq_mm_test.cpp ; 76run minus_m_test.cpp ; 77run minus_eq_mm_test.cpp ; 78run minus_mm_test.cpp ; 79run mul_eq_mm_test.cpp ; 80run mul_eq_ms_test.cpp ; 81run mul_mm_test.cpp ; 82run mul_ms_test.cpp ; 83run mul_sm_test.cpp ; 84run mul_mv_test.cpp ; 85run inverse_m_test.cpp ; 86run plus_eq_mm_test.cpp ; 87run plus_mm_test.cpp ; 88run scalar_cast_m_test.cpp ; 89run mat_index_test.cpp ; 90 91run cmp_qq_test.cpp ; 92run conjugate_test.cpp ; 93run normalize_q_test.cpp ; 94run div_eq_qs_test.cpp ; 95run div_qs_test.cpp ; 96run dot_qq_test.cpp ; 97run eq_qq_test.cpp ; 98run inverse_q_test.cpp ; 99run mag_q_test.cpp ; 100run mag_sqr_q_test.cpp ; 101run minus_q_test.cpp ; 102run minus_eq_qq_test.cpp ; 103run minus_qq_test.cpp ; 104run mul_eq_qs_test.cpp ; 105run mul_qs_test.cpp ; 106run mul_qv_test.cpp ; 107run mul_qq_test.cpp ; 108run mul_eq_qq_test.cpp ; 109run plus_eq_qq_test.cpp ; 110run plus_qq_test.cpp ; 111run scalar_cast_q_test.cpp ; 112run slerp_test.cpp ; 113 114run convert_to_test.cpp ; 115 116run rot_mat_test.cpp ; 117run rot_quat_test.cpp ; 118run rotx_mat_test.cpp ; 119run rotx_quat_test.cpp ; 120run roty_mat_test.cpp ; 121run roty_quat_test.cpp ; 122run rotz_mat_test.cpp ; 123run rotz_quat_test.cpp ; 124 125run zero_vec_test.cpp ; 126run zero_mat_test.cpp ; 127run zero_quat_test.cpp ; 128run identity_mat_test.cpp ; 129run identity_quat_test.cpp ; 130 131run col_test.cpp ; 132run col_mat_test.cpp ; 133run neg_col_test.cpp ; 134run neg_row_test.cpp ; 135run del_col_test.cpp ; 136run del_row_test.cpp ; 137run del_row_col_test.cpp ; 138run swap_cols_test.cpp ; 139run swap_rows_test.cpp ; 140run diag_test.cpp ; 141run diag_mat_test.cpp ; 142run row_test.cpp ; 143run row_mat_test.cpp ; 144run transpose_test.cpp ; 145run translation_test.cpp ; 146run translation_mat_test.cpp ; 147 148compile-fail swizzle_const_fail.cpp ; 149run swizzle2_test2.cpp ; 150run swizzle2_test3.cpp ; 151run swizzle2_test4.cpp ; 152run swizzle2_test.cpp ; 153run swizzle3_test2.cpp ; 154run swizzle3_test3.cpp ; 155run swizzle3_test4.cpp ; 156run swizzle3_test.cpp ; 157run swizzle4_test2.cpp ; 158run swizzle4_test3.cpp ; 159run swizzle4_test4.cpp ; 160run swizzle4_test.cpp ; 161 162compile deduce_scalar_test.cpp ; 163compile-fail deduce_scalar_fail1.cpp ; 164compile-fail deduce_scalar_fail2.cpp ; 165compile-fail deduce_scalar_fail3.cpp ; 166 167compile deduce_matrix_test.cpp ; 168compile deduce_vector_test.cpp ; 169 170run interop_test.cpp ; 171 172run transform_test.cpp ; 173 174run projection_test.cpp ; 175 176compile scalar_traits_test.cpp ; 177