Add a true ctest unit test for failtests

This commit is contained in:
Gael Guennebaud 2014-09-23 10:25:12 +02:00
parent ff46ec0f24
commit 3878e6f170

View File

@ -324,3 +324,6 @@ endif(CUDA_FOUND)
endif(EIGEN_TEST_NVCC)
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)