Add a unit test to stress our solvers with Boost.Multiprecision

This commit is contained in:
Gael Guennebaud
2016-07-20 15:20:14 +02:00
parent 5e4dda8a12
commit b64b9d0172
2 changed files with 147 additions and 0 deletions

View File

@@ -327,6 +327,16 @@ if(EIGEN_TEST_EIGEN2)
message(WARNING "The Eigen2 test suite has been removed")
endif()
# boost MP unit test
find_package(Boost)
if(Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
ei_add_test(boostmultiprec "" "${Boost_LIBRARIES}")
ei_add_property(EIGEN_TESTED_BACKENDS "Boost.Multiprecision, ")
else()
ei_add_property(EIGEN_MISSING_BACKENDS "Boost.Multiprecision, ")
endif()
# CUDA unit tests
option(EIGEN_TEST_CUDA "Enable CUDA support in unit tests" OFF)