]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
UserGuideExample test of RENUMBER needs Partitioner
authorabn <adrien.bruneton@cea.fr>
Tue, 22 Sep 2020 13:49:48 +0000 (15:49 +0200)
committerabn <adrien.bruneton@cea.fr>
Thu, 24 Sep 2020 13:51:44 +0000 (15:51 +0200)
src/RENUMBER_Swig/CMakeLists.txt

index ae0dc1a8c3f973c7054031c4267221d12991ac10..8afea791b22af3ebccdbaf86bfffda2b0cb0eaf1 100644 (file)
@@ -82,8 +82,10 @@ SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_CURRENT_BINARY_DIR}/../
 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
 ADD_TEST(MEDRenumberTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDRenumberTest.py)
 SET_TESTS_PROPERTIES(MEDRenumberTest PROPERTIES ENVIRONMENT "${tests_env}")
-ADD_TEST(MEDRenumberUserGuide ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/UsersGuideExamplesTest.py)
-SET_TESTS_PROPERTIES(MEDRenumberUserGuide PROPERTIES ENVIRONMENT "${tests_env}")
+IF(MEDCOUPLING_ENABLE_PARTITIONER)
+  ADD_TEST(MEDRenumberUserGuide ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/UsersGuideExamplesTest.py)
+  SET_TESTS_PROPERTIES(MEDRenumberUserGuide PROPERTIES ENVIRONMENT "${tests_env}")
+ENDIF()
 
 # Application tests