aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-16 18:55:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-16 18:55:40 +0200
commitadd57574881f7389ce4a3f82934907420945b0f4 (patch)
tree392ff798a1f541c0fe412ae46058cc84250b177c /cmake
parent901c7d31f026cce75816cf5d954e42f22f6f5691 (diff)
Simplify handling and non-splitted tests and include split_test_helper.h instead of re-generating it. This also allows us to modify it without breaking existing build folder.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/EigenTesting.cmake11
1 files changed, 3 insertions, 8 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake
index 5ad57ad6c..d60873554 100644
--- a/cmake/EigenTesting.cmake
+++ b/cmake/EigenTesting.cmake
@@ -295,14 +295,9 @@ macro(ei_add_test testname)
"${ARGV1} -DEIGEN_TEST_PART_${suffix}=1" "${ARGV2}")
add_dependencies(${testname} ${testname}_${suffix})
endforeach(suffix)
- else(EIGEN_SPLIT_LARGE_TESTS AND suffixes)
- set(symbols_to_enable_all_parts "")
- foreach(suffix ${suffixes})
- set(symbols_to_enable_all_parts
- "${symbols_to_enable_all_parts} -DEIGEN_TEST_PART_${suffix}=1")
- endforeach(suffix)
- ei_add_test_internal(${testname} ${testname} "${ARGV1} ${symbols_to_enable_all_parts}" "${ARGV2}")
- endif(EIGEN_SPLIT_LARGE_TESTS AND suffixes)
+ else()
+ ei_add_test_internal(${testname} ${testname} "${ARGV1} -DEIGEN_TEST_PART_ALL=1" "${ARGV2}")
+ endif()
endmacro(ei_add_test)
macro(ei_add_test_sycl testname)