You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.8 KiB

  1. message(STATUS "Running the failtests")
  2. ei_add_failtest("failtest_sanity_check")
  3. ei_add_failtest("block_nonconst_ctor_on_const_xpr_0")
  4. ei_add_failtest("block_nonconst_ctor_on_const_xpr_1")
  5. ei_add_failtest("block_nonconst_ctor_on_const_xpr_2")
  6. ei_add_failtest("transpose_nonconst_ctor_on_const_xpr")
  7. ei_add_failtest("diagonal_nonconst_ctor_on_const_xpr")
  8. ei_add_failtest("cwiseunaryview_nonconst_ctor_on_const_xpr")
  9. ei_add_failtest("triangularview_nonconst_ctor_on_const_xpr")
  10. ei_add_failtest("selfadjointview_nonconst_ctor_on_const_xpr")
  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. ei_add_failtest("map_nonconst_ctor_on_const_ptr_0")
  16. ei_add_failtest("map_nonconst_ctor_on_const_ptr_1")
  17. ei_add_failtest("map_nonconst_ctor_on_const_ptr_2")
  18. ei_add_failtest("map_nonconst_ctor_on_const_ptr_3")
  19. ei_add_failtest("map_nonconst_ctor_on_const_ptr_4")
  20. ei_add_failtest("map_on_const_type_actually_const_0")
  21. ei_add_failtest("map_on_const_type_actually_const_1")
  22. ei_add_failtest("block_on_const_type_actually_const_0")
  23. ei_add_failtest("block_on_const_type_actually_const_1")
  24. ei_add_failtest("transpose_on_const_type_actually_const")
  25. ei_add_failtest("diagonal_on_const_type_actually_const")
  26. ei_add_failtest("cwiseunaryview_on_const_type_actually_const")
  27. ei_add_failtest("triangularview_on_const_type_actually_const")
  28. ei_add_failtest("selfadjointview_on_const_type_actually_const")
  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. ei_add_failtest("swap_1")
  35. ei_add_failtest("swap_2")
  36. ei_add_failtest("ternary_1")
  37. ei_add_failtest("ternary_2")
  38. ei_add_failtest("sparse_ref_1")
  39. ei_add_failtest("sparse_ref_2")
  40. ei_add_failtest("sparse_ref_3")
  41. ei_add_failtest("sparse_ref_4")
  42. ei_add_failtest("sparse_ref_5")
  43. ei_add_failtest("sparse_storage_mismatch")
  44. ei_add_failtest("partialpivlu_int")
  45. ei_add_failtest("fullpivlu_int")
  46. ei_add_failtest("llt_int")
  47. ei_add_failtest("ldlt_int")
  48. ei_add_failtest("qr_int")
  49. ei_add_failtest("colpivqr_int")
  50. ei_add_failtest("fullpivqr_int")
  51. ei_add_failtest("jacobisvd_int")
  52. ei_add_failtest("bdcsvd_int")
  53. ei_add_failtest("eigensolver_int")
  54. ei_add_failtest("eigensolver_cplx")
  55. if (STORMEIGEN_FAILTEST_FAILURE_COUNT)
  56. message(FATAL_ERROR
  57. "${STORMEIGEN_FAILTEST_FAILURE_COUNT} out of ${STORMEIGEN_FAILTEST_COUNT} failtests FAILED. "
  58. "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}, "
  59. "with and without #define STORMEIGEN_SHOULD_FAIL_TO_BUILD.")
  60. else()
  61. message(STATUS "Failtest SUCCESS: all ${STORMEIGEN_FAILTEST_COUNT} failtests passed.")
  62. message(STATUS "")
  63. endif()