From 7188bf5622db6a7d4dd2156ef65365116ce620d7 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Tue, 26 Jul 2022 15:01:08 +0200 Subject: [PATCH] cmake: discard a test on Windows --- unittest/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/unittest/CMakeLists.txt b/unittest/CMakeLists.txt index a41d29b9..80b451e5 100644 --- a/unittest/CMakeLists.txt +++ b/unittest/CMakeLists.txt @@ -63,5 +63,7 @@ SET_TESTS_PROPERTIES("py-LLT" PROPERTIES DEPENDS ${PYWRAP}) ADD_PYTHON_UNIT_TEST("py-LDLT" "unittest/python/test_LDLT.py" "python;unittest") SET_TESTS_PROPERTIES("py-LDLT" PROPERTIES DEPENDS ${PYWRAP}) -ADD_PYTHON_UNIT_TEST("py-MINRES" "unittest/python/test_MINRES.py" "python;unittest") -SET_TESTS_PROPERTIES("py-MINRES" PROPERTIES DEPENDS ${PYWRAP}) +IF(NOT WIN32) + ADD_PYTHON_UNIT_TEST("py-MINRES" "unittest/python/test_MINRES.py" "python;unittest") + SET_TESTS_PROPERTIES("py-MINRES" PROPERTIES DEPENDS ${PYWRAP}) +ENDIF(NOT WIN32) -- GitLab