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.

37 lines
1.6 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("const_qualified_block_method_retval_0")
  9. ei_add_failtest("const_qualified_block_method_retval_1")
  10. ei_add_failtest("const_qualified_transpose_method_retval")
  11. ei_add_failtest("const_qualified_diagonal_method_retval")
  12. ei_add_failtest("map_nonconst_ctor_on_const_ptr_0")
  13. ei_add_failtest("map_nonconst_ctor_on_const_ptr_1")
  14. ei_add_failtest("map_nonconst_ctor_on_const_ptr_2")
  15. ei_add_failtest("map_nonconst_ctor_on_const_ptr_3")
  16. ei_add_failtest("map_nonconst_ctor_on_const_ptr_4")
  17. ei_add_failtest("map_on_const_type_actually_const_0")
  18. ei_add_failtest("map_on_const_type_actually_const_1")
  19. ei_add_failtest("block_on_const_type_actually_const_0")
  20. ei_add_failtest("block_on_const_type_actually_const_1")
  21. ei_add_failtest("transpose_on_const_type_actually_const")
  22. ei_add_failtest("diagonal_on_const_type_actually_const")
  23. if (EIGEN_FAILTEST_FAILURE_COUNT)
  24. message(FATAL_ERROR
  25. "${EIGEN_FAILTEST_FAILURE_COUNT} out of ${EIGEN_FAILTEST_COUNT} failtests FAILED. "
  26. "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}, "
  27. "with and without #define EIGEN_SHOULD_FAIL_TO_BUILD.")
  28. else()
  29. message(STATUS "Failtest SUCCESS: all ${EIGEN_FAILTEST_COUNT} failtests passed.")
  30. message(STATUS "")
  31. endif()