mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
modify the unit tests of sparse linear solvers to enable tests on real matrices, from MatrixMarket for instance
This commit is contained in:
@@ -338,6 +338,13 @@ if(EIGEN_BUILD_BTL)
|
||||
add_subdirectory(bench/btl EXCLUDE_FROM_ALL)
|
||||
endif(EIGEN_BUILD_BTL)
|
||||
|
||||
if(TEST_REAL_CASES)
|
||||
if(NOT WIN32)
|
||||
add_subdirectory(bench/spbench EXCLUDE_FROM_ALL)
|
||||
set(ENV(EIGEN_MATRIX_DIR) ${TEST_REAL_CASES})
|
||||
endif(NOT WIN32)
|
||||
endif(TEST_REAL_CASES)
|
||||
|
||||
ei_testing_print_summary()
|
||||
|
||||
message(STATUS "")
|
||||
|
||||
Reference in New Issue
Block a user