aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-12-12 15:48:36 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-12-12 15:48:36 +0100
commit72c0bbe2bd1c49c75b6efdb81d0558f8b62578d1 (patch)
tree0085849ac123593d69b5d53e6c11abcbee8f024b /test
parent37c91e18368e77a333afd2f5a1fd52026014fca5 (diff)
Simplify handling of tests that must fail to compile.
Each test is now a normal ctest target, and build properties (compiler+flags) are preserved (instead of starting a new build-dir from scratch).
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index f215d97cd..67b35a61e 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -439,11 +439,6 @@ if (EIGEN_TEST_HIP)
endif(EIGEN_TEST_HIP)
-
-
-file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/failtests)
-add_test(NAME failtests WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/failtests COMMAND ${CMAKE_COMMAND} ${Eigen_SOURCE_DIR} -G "${CMAKE_GENERATOR}" -DEIGEN_FAILTEST=ON)
-
option(EIGEN_TEST_BUILD_DOCUMENTATION "Test building the doxygen documentation" OFF)
IF(EIGEN_TEST_BUILD_DOCUMENTATION)
add_dependencies(buildtests doc)