• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1message(STATUS "Running the failtests")
2
3ei_add_failtest("failtest_sanity_check")
4
5ei_add_failtest("block_nonconst_ctor_on_const_xpr_0")
6ei_add_failtest("block_nonconst_ctor_on_const_xpr_1")
7ei_add_failtest("block_nonconst_ctor_on_const_xpr_2")
8ei_add_failtest("transpose_nonconst_ctor_on_const_xpr")
9ei_add_failtest("diagonal_nonconst_ctor_on_const_xpr")
10ei_add_failtest("cwiseunaryview_nonconst_ctor_on_const_xpr")
11ei_add_failtest("triangularview_nonconst_ctor_on_const_xpr")
12ei_add_failtest("selfadjointview_nonconst_ctor_on_const_xpr")
13
14ei_add_failtest("const_qualified_block_method_retval_0")
15ei_add_failtest("const_qualified_block_method_retval_1")
16ei_add_failtest("const_qualified_transpose_method_retval")
17ei_add_failtest("const_qualified_diagonal_method_retval")
18
19ei_add_failtest("map_nonconst_ctor_on_const_ptr_0")
20ei_add_failtest("map_nonconst_ctor_on_const_ptr_1")
21ei_add_failtest("map_nonconst_ctor_on_const_ptr_2")
22ei_add_failtest("map_nonconst_ctor_on_const_ptr_3")
23ei_add_failtest("map_nonconst_ctor_on_const_ptr_4")
24
25ei_add_failtest("map_on_const_type_actually_const_0")
26ei_add_failtest("map_on_const_type_actually_const_1")
27ei_add_failtest("block_on_const_type_actually_const_0")
28ei_add_failtest("block_on_const_type_actually_const_1")
29ei_add_failtest("transpose_on_const_type_actually_const")
30ei_add_failtest("diagonal_on_const_type_actually_const")
31ei_add_failtest("cwiseunaryview_on_const_type_actually_const")
32ei_add_failtest("triangularview_on_const_type_actually_const")
33ei_add_failtest("selfadjointview_on_const_type_actually_const")
34
35ei_add_failtest("ref_1")
36ei_add_failtest("ref_2")
37ei_add_failtest("ref_3")
38ei_add_failtest("ref_4")
39ei_add_failtest("ref_5")
40
41ei_add_failtest("swap_1")
42ei_add_failtest("swap_2")
43
44ei_add_failtest("ternary_1")
45ei_add_failtest("ternary_2")
46
47ei_add_failtest("sparse_ref_1")
48ei_add_failtest("sparse_ref_2")
49ei_add_failtest("sparse_ref_3")
50ei_add_failtest("sparse_ref_4")
51ei_add_failtest("sparse_ref_5")
52
53ei_add_failtest("sparse_storage_mismatch")
54
55ei_add_failtest("partialpivlu_int")
56ei_add_failtest("fullpivlu_int")
57ei_add_failtest("llt_int")
58ei_add_failtest("ldlt_int")
59ei_add_failtest("qr_int")
60ei_add_failtest("colpivqr_int")
61ei_add_failtest("fullpivqr_int")
62ei_add_failtest("jacobisvd_int")
63ei_add_failtest("bdcsvd_int")
64ei_add_failtest("eigensolver_int")
65ei_add_failtest("eigensolver_cplx")
66
67if (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.")
72else()
73  message(STATUS "Failtest SUCCESS: all ${EIGEN_FAILTEST_COUNT} failtests passed.")
74  message(STATUS "")
75endif()
76