]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Disabling usage of MEDCOUPLING_BUILD_PY_TESTS at application level. abn/tst_fix
authorabn <adrien.bruneton@cea.fr>
Thu, 2 Jun 2022 14:42:29 +0000 (16:42 +0200)
committerabn <adrien.bruneton@cea.fr>
Thu, 2 Jun 2022 14:42:29 +0000 (16:42 +0200)
+ updating CTestTestfileInstall.cmake files

src/ICoCo/Swig/CTestTestfileInstall.cmake
src/MEDCoupling_Swig/CTestTestfileInstall.cmake
src/MEDLoader/Swig/CTestTestfileInstall.cmake
src/ParaMEDMEM_Swig/CTestTestfileInstall.cmake.in
src/PyWrapping/CTestTestfileInstall.cmake
src/RENUMBER_Swig/CTestTestfileInstall.cmake

index 6178f58b2962b5a35db3338bc3baa75b2ca736df..f6228fc81d2686eb573d641f6cf7ae9f4e6f2742 100644 (file)
@@ -17,9 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-    INCLUDE(tests.set)
-ENDIF()
+INCLUDE(tests.set)
 
 FOREACH(tfile ${ALL_TESTS})
   GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
index 6178f58b2962b5a35db3338bc3baa75b2ca736df..f6228fc81d2686eb573d641f6cf7ae9f4e6f2742 100644 (file)
@@ -17,9 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-    INCLUDE(tests.set)
-ENDIF()
+INCLUDE(tests.set)
 
 FOREACH(tfile ${ALL_TESTS})
   GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
index 6178f58b2962b5a35db3338bc3baa75b2ca736df..f6228fc81d2686eb573d641f6cf7ae9f4e6f2742 100644 (file)
@@ -17,9 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-    INCLUDE(tests.set)
-ENDIF()
+INCLUDE(tests.set)
 
 FOREACH(tfile ${ALL_TESTS})
   GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
index ad4ff4ca89740bb605a7cb6621af57d1c2a65ce0..3a6453750d6479466982c5613d880c4ee356e0e4 100644 (file)
@@ -25,32 +25,27 @@ SET(TEST_NAMES ParaMEDMEMTest)
 # force mpiexec to use PATH env var to detect right python into mpiexec command line
 set(PATH_FOR_PYTHON $ENV{PATH})
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-
-
-    set(tfile PyPara_Basics_Proc2)
-    set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
-    add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_BasicOperation.py)
-    set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
-    
-    set(tfile PyPara_InterpKernelDEC_Proc4)
-    set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
-    add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
-    set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
-    
-    set(tfile PyPara_InterpKernelDEC_Proc5)
-    set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
-    add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
-    set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
-    
-    set(tfile PyPara_StructuredCoincidentDEC_Proc4)
-    set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
-    add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_StructuredCoincidentDEC.py)
-    set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
-    
-    set(tfile PyPara_OverlapDEC_Proc4)
-    set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
-    add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_OverlapDEC.py)
-    set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
-
-ENDIF()
\ No newline at end of file
+set(tfile PyPara_Basics_Proc2)
+set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
+add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_BasicOperation.py)
+set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
+
+set(tfile PyPara_InterpKernelDEC_Proc4)
+set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
+add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
+set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
+
+set(tfile PyPara_InterpKernelDEC_Proc5)
+set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
+add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
+set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
+
+set(tfile PyPara_StructuredCoincidentDEC_Proc4)
+set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
+add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_StructuredCoincidentDEC.py)
+set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
+
+set(tfile PyPara_OverlapDEC_Proc4)
+set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
+add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_OverlapDEC.py)
+set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
index 90af88cd158dd51c5337b2bc8fdcbc9ff5942f16..ae9192d2f3634f462a146c4bbb74aa780267f876 100644 (file)
@@ -17,9 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-    INCLUDE(tests.set)
-ENDIF()
+INCLUDE(tests.set)
 
 FOREACH(tfile ${BASE_TESTS})
   GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
index 61ff90489852fa5ce1517d8bd5e8adf69642b996..bc213d7a2c1248835241a6767c6442433461b9ce 100644 (file)
@@ -21,22 +21,20 @@ SET(TEST_NAMES
   MEDRenumberTest
 )
 
-IF(MEDCOUPLING_BUILD_PY_TESTS)
-    FOREACH(tfile ${TEST_NAMES})
-      SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
-      ADD_TEST(${TEST_NAME} python ${tfile}.py)
-      SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
-        LABELS "${COMPONENT_NAME}"
-        TIMEOUT ${TIMEOUT}
-        ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}"
-        )
-    ENDFOREACH()
-    
-    SET(TEST_NAME ${COMPONENT_NAME}_RENUMBER_Swig_MEDRenumberUserGuide)
-    ADD_TEST(${TEST_NAME} python UsersGuideExamplesTest.py)
-    SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
-      LABELS "${COMPONENT_NAME}"
-      TIMEOUT ${TIMEOUT}
-      ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}"
+FOREACH(tfile ${TEST_NAMES})
+  SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  ADD_TEST(${TEST_NAME} python ${tfile}.py)
+  SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
+    LABELS "${COMPONENT_NAME}"
+    TIMEOUT ${TIMEOUT}
+    ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}"
+    )
+ENDFOREACH()
+
+SET(TEST_NAME ${COMPONENT_NAME}_RENUMBER_Swig_MEDRenumberUserGuide)
+ADD_TEST(${TEST_NAME} python UsersGuideExamplesTest.py)
+SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES
+  LABELS "${COMPONENT_NAME}"
+  TIMEOUT ${TIMEOUT}
+  ENVIRONMENT "PYTHONPATH=../../bin:$ENV{PYTHONPATH}"
   )
-ENDIF()