[136] | 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 |
|
---|
| 11 | ei_add_failtest("const_qualified_block_method_retval_0")
|
---|
| 12 | ei_add_failtest("const_qualified_block_method_retval_1")
|
---|
| 13 | ei_add_failtest("const_qualified_transpose_method_retval")
|
---|
| 14 | ei_add_failtest("const_qualified_diagonal_method_retval")
|
---|
| 15 |
|
---|
| 16 | ei_add_failtest("map_nonconst_ctor_on_const_ptr_0")
|
---|
| 17 | ei_add_failtest("map_nonconst_ctor_on_const_ptr_1")
|
---|
| 18 | ei_add_failtest("map_nonconst_ctor_on_const_ptr_2")
|
---|
| 19 | ei_add_failtest("map_nonconst_ctor_on_const_ptr_3")
|
---|
| 20 | ei_add_failtest("map_nonconst_ctor_on_const_ptr_4")
|
---|
| 21 |
|
---|
| 22 | ei_add_failtest("map_on_const_type_actually_const_0")
|
---|
| 23 | ei_add_failtest("map_on_const_type_actually_const_1")
|
---|
| 24 | ei_add_failtest("block_on_const_type_actually_const_0")
|
---|
| 25 | ei_add_failtest("block_on_const_type_actually_const_1")
|
---|
| 26 | ei_add_failtest("transpose_on_const_type_actually_const")
|
---|
| 27 | ei_add_failtest("diagonal_on_const_type_actually_const")
|
---|
| 28 |
|
---|
| 29 | ei_add_failtest("ref_1")
|
---|
| 30 | ei_add_failtest("ref_2")
|
---|
| 31 | ei_add_failtest("ref_3")
|
---|
| 32 | ei_add_failtest("ref_4")
|
---|
| 33 | ei_add_failtest("ref_5")
|
---|
| 34 |
|
---|
| 35 | ei_add_failtest("partialpivlu_int")
|
---|
| 36 | ei_add_failtest("fullpivlu_int")
|
---|
| 37 | ei_add_failtest("llt_int")
|
---|
| 38 | ei_add_failtest("ldlt_int")
|
---|
| 39 | ei_add_failtest("qr_int")
|
---|
| 40 | ei_add_failtest("colpivqr_int")
|
---|
| 41 | ei_add_failtest("fullpivqr_int")
|
---|
| 42 | ei_add_failtest("jacobisvd_int")
|
---|
| 43 | ei_add_failtest("eigensolver_int")
|
---|
| 44 | ei_add_failtest("eigensolver_cplx")
|
---|
| 45 |
|
---|
| 46 | if (EIGEN_FAILTEST_FAILURE_COUNT)
|
---|
| 47 | message(FATAL_ERROR
|
---|
| 48 | "${EIGEN_FAILTEST_FAILURE_COUNT} out of ${EIGEN_FAILTEST_COUNT} failtests FAILED. "
|
---|
| 49 | "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}, "
|
---|
| 50 | "with and without #define EIGEN_SHOULD_FAIL_TO_BUILD.")
|
---|
| 51 | else()
|
---|
| 52 | message(STATUS "Failtest SUCCESS: all ${EIGEN_FAILTEST_COUNT} failtests passed.")
|
---|
| 53 | message(STATUS "")
|
---|
| 54 | endif()
|
---|