diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-02-06 11:55:51 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-02-06 11:55:51 -0500 |
commit | 80500b693c8d23148cee91b10f49df6b3caadf98 (patch) | |
tree | ea9c4641847774de400f7e1a710160529c1f23a5 /failtest/CMakeLists.txt | |
parent | 7ea6ac79a3b0b6233ba576aa0b6827526b008cb2 (diff) |
add more failtests
Diffstat (limited to 'failtest/CMakeLists.txt')
-rw-r--r-- | failtest/CMakeLists.txt | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/failtest/CMakeLists.txt b/failtest/CMakeLists.txt index b6e26d5a8..5afa2ac82 100644 --- a/failtest/CMakeLists.txt +++ b/failtest/CMakeLists.txt @@ -17,12 +17,20 @@ ei_add_failtest("map_nonconst_ctor_on_const_ptr_0") ei_add_failtest("map_nonconst_ctor_on_const_ptr_1") ei_add_failtest("map_nonconst_ctor_on_const_ptr_2") ei_add_failtest("map_nonconst_ctor_on_const_ptr_3") +ei_add_failtest("map_nonconst_ctor_on_const_ptr_4") +ei_add_failtest("map_on_const_type_actually_const_0") +ei_add_failtest("map_on_const_type_actually_const_1") +ei_add_failtest("block_on_const_type_actually_const_0") +ei_add_failtest("block_on_const_type_actually_const_1") +ei_add_failtest("transpose_on_const_type_actually_const") +ei_add_failtest("diagonal_on_const_type_actually_const") if (EIGEN_FAILTEST_FAILURE_COUNT) - message(FATAL_ERROR "${EIGEN_FAILTEST_FAILURE_COUNT} out of ${EIGEN_FAILTEST_COUNT} failtests FAILED. " - "Failtests succeed when they generate build errors. " - "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}.") + message(FATAL_ERROR + "${EIGEN_FAILTEST_FAILURE_COUNT} out of ${EIGEN_FAILTEST_COUNT} failtests FAILED. " + "To debug these failures, manually compile these programs in ${CMAKE_CURRENT_SOURCE_DIR}, " + "with and without #define EIGEN_SHOULD_FAIL_TO_BUILD.") else() message(STATUS "Failtest SUCCESS: all ${EIGEN_FAILTEST_COUNT} failtests passed.") message(STATUS "") |