]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Fix tests in the MICRO mode (part 2)
authorvsr <vsr@opencascade.com>
Thu, 19 Dec 2019 14:09:11 +0000 (17:09 +0300)
committervsr <vsr@opencascade.com>
Thu, 19 Dec 2019 14:09:11 +0000 (17:09 +0300)
src/MEDCoupling_Swig/CMakeLists.txt
src/MEDLoader/Swig/CMakeLists.txt
src/MEDPartitioner_Swig/CMakeLists.txt
src/RENUMBER_Swig/CMakeLists.txt

index 8dd9feb7fe171bed64c7215d0496f98ac5b63c5a..12254ca51218bbdae4067e584997f800e293cc0e 100644 (file)
@@ -157,7 +157,7 @@ SALOME_INSTALL_SCRIPTS("${PYFILES_TO_INSTALL}" ${MEDCOUPLING_INSTALL_PYTHON} EXT
 INSTALL(FILES ${MC_Swig_interf} DESTINATION ${MEDCOUPLING_INSTALL_HEADERS})
 INSTALL(FILES ${MC_pyTestFiles} DESTINATION ${MEDCOUPLING_INSTALL_SCRIPT_PYTHON})
 
-SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR}/../PyWrappings)
+SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_CURRENT_BINARY_DIR}/../PyWrappings)
 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
 
 FOREACH(test ${BASE_TESTS})
index 9f9bc3ffdfb5ca2574df7653be1b468ec46b0972..6f110db0e1086b3db05b0fb78aa60651480137af 100644 (file)
@@ -114,7 +114,7 @@ ENDFOREACH()
 
 IF(NUMPY_FOUND)
   # Add Remapper to the Python path:
-  SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH "${CMAKE_CURRENT_BINARY_DIR}/../../MEDCoupling_Swig")
+  SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK "${CMAKE_CURRENT_BINARY_DIR}/../../MEDCoupling_Swig")
   SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
   FOREACH(test ${NUMPY_TESTS})
     GET_FILENAME_COMPONENT(testname ${test} NAME_WE)
index 0c39e70a74583a68813a8683635e562761d3ac18..c24e4cf3e1555f7771acad41a7f7f8656f967467 100644 (file)
@@ -74,7 +74,7 @@ INSTALL(FILES MEDPartitionerTest.py DESTINATION ${MEDCOUPLING_INSTALL_SCRIPT_PYT
 
 IF(MEDCOUPLING_PARTITIONER_METIS)
    # Python test of partitionner require METIS or PARMETIS?
-   SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR}/../MEDLoader/Swig)
+   SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_CURRENT_BINARY_DIR}/../MEDLoader/Swig)
    SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
    ADD_TEST(MEDPartitionerTest ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/MEDPartitionerTest.py)
    SET_TESTS_PROPERTIES(MEDPartitionerTest PROPERTIES ENVIRONMENT "${tests_env}")
index 33ea03f6b33140f456e458adf45c84bbb4554552..9c265924bdd52341b984c92399f76a0cd90c81ec 100644 (file)
@@ -68,7 +68,7 @@ SALOME_INSTALL_SCRIPTS(${CMAKE_CURRENT_BINARY_DIR}/MEDRenumber.py ${MEDCOUPLING_
 INSTALL(FILES MEDRenumber.i MEDRenumberCommon.i MEDRenumberImpl.i DESTINATION ${MEDCOUPLING_INSTALL_HEADERS})
 INSTALL(FILES MEDRenumberTest.py DESTINATION ${MEDCOUPLING_INSTALL_SCRIPT_PYTHON})
 
-SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH ${CMAKE_CURRENT_BINARY_DIR}/../MEDCoupling_Swig)
+SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_CURRENT_BINARY_DIR}/../MEDCoupling_Swig)
 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}")