diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-23 10:25:12 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-23 10:25:12 +0200 |
commit | 3878e6f1703c22782ef9897fe46c7f1fc6a47ae5 (patch) | |
tree | 0fd7087294a5390b608551f449c85df0909e643a | |
parent | ff46ec0f240ef84e2293b33b265c703e9b765c2e (diff) |
Add a true ctest unit test for failtests
-rw-r--r-- | test/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 530e9e4e1..4132e6481 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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) |