1 message(STATUS "Running the failtests") 2 3 ei_add_failtest("failtest_sanity_check") 4 5 ei_add_failtest("block_nonconst_ctor_on_const_xpr_0") 6 ei_add_failtest("block_nonconst_ctor_on_const_xpr_1") 7 ei_add_failtest("block_nonconst_ctor_on_const_xpr_2") 8 ei_add_failtest("transpose_nonconst_ctor_on_const_xpr") 9 ei_add_failtest("diagonal_nonconst_ctor_on_const_xpr") 10 ei_add_failtest("cwiseunaryview_nonconst_ctor_on_const_xpr") 11 ei_add_failtest("triangularview_nonconst_ctor_on_const_xpr") 12 ei_add_failtest("selfadjointview_nonconst_ctor_on_const_xpr") 13 14 ei_add_failtest("const_qualified_block_method_retval_0") 15 ei_add_failtest("const_qualified_block_method_retval_1") 16 ei_add_failtest("const_qualified_transpose_method_retval") 17 ei_add_failtest("const_qualified_diagonal_method_retval") 18 19 ei_add_failtest("map_nonconst_ctor_on_const_ptr_0") 20 ei_add_failtest("map_nonconst_ctor_on_const_ptr_1") 21 ei_add_failtest("map_nonconst_ctor_on_const_ptr_2") 22 ei_add_failtest("map_nonconst_ctor_on_const_ptr_3") 23 ei_add_failtest("map_nonconst_ctor_on_const_ptr_4") 24 25 ei_add_failtest("map_on_const_type_actually_const_0") 26 ei_add_failtest("map_on_const_type_actually_const_1") 27 ei_add_failtest("block_on_const_type_actually_const_0") 28 ei_add_failtest("block_on_const_type_actually_const_1") 29 ei_add_failtest("transpose_on_const_type_actually_const") 30 ei_add_failtest("diagonal_on_const_type_actually_const") 31 ei_add_failtest("cwiseunaryview_on_const_type_actually_const") 32 ei_add_failtest("triangularview_on_const_type_actually_const") 33 ei_add_failtest("selfadjointview_on_const_type_actually_const") 34 35 ei_add_failtest("ref_1") 36 ei_add_failtest("ref_2") 37 ei_add_failtest("ref_3") 38 ei_add_failtest("ref_4") 39 ei_add_failtest("ref_5") 40 41 ei_add_failtest("swap_1") 42 ei_add_failtest("swap_2") 43 44 ei_add_failtest("ternary_1") 45 ei_add_failtest("ternary_2") 46 47 ei_add_failtest("sparse_ref_1") 48 ei_add_failtest("sparse_ref_2") 49 ei_add_failtest("sparse_ref_3") 50 ei_add_failtest("sparse_ref_4") 51 ei_add_failtest("sparse_ref_5") 52 53 ei_add_failtest("sparse_storage_mismatch") 54 55 ei_add_failtest("partialpivlu_int") 56 ei_add_failtest("fullpivlu_int") 57 ei_add_failtest("llt_int") 58 ei_add_failtest("ldlt_int") 59 ei_add_failtest("qr_int") 60 ei_add_failtest("colpivqr_int") 61 ei_add_failtest("fullpivqr_int") 62 ei_add_failtest("jacobisvd_int") 63 ei_add_failtest("bdcsvd_int") 64 ei_add_failtest("eigensolver_int") 65 ei_add_failtest("eigensolver_cplx") 66 67 if (EIGEN_FAILTEST_FAILURE_COUNT) 68 message(FATAL_ERROR 69 "${EIGEN_FAILTEST_FAILURE_COUNT} out of ${EIGEN_FAILTEST_COUNT} failtests FAILED. " 70 "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}, " 71 "with and without #define EIGEN_SHOULD_FAIL_TO_BUILD.") 72 else() 73 message(STATUS "Failtest SUCCESS: all ${EIGEN_FAILTEST_COUNT} failtests passed.") 74 message(STATUS "") 75 endif() 76