From: vsr Date: Thu, 9 Dec 2021 09:18:07 +0000 (+0300) Subject: bos #26750 Disable HOMARD tests if medfile is built with 32-bits IDs (this is unsuppo... X-Git-Tag: V9_9_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67543806c1674525d800d7e35263599aea4d56ca;p=modules%2Fhomard.git bos #26750 Disable HOMARD tests if medfile is built with 32-bits IDs (this is unsupported configuration) --- diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 99f9795b..d17e1fca 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -17,15 +17,18 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -IF(SALOME_BUILD_TESTS) - ADD_SUBDIRECTORY(Test) -ENDIF(SALOME_BUILD_TESTS) +IF(MED_INT_IS_LONG) + # Homard tests are unavailable if medfile is built with 32-bits UIDs + IF(SALOME_BUILD_TESTS) + ADD_SUBDIRECTORY(Test) + ENDIF(SALOME_BUILD_TESTS) -FILE(GLOB sample_files - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.med - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.bilan - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.odt - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.pdf - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.png - ${PROJECT_SOURCE_DIR}/src/tests/samples/*.xao) -INSTALL(FILES ${sample_files} DESTINATION ${SALOME_HOMARD_INSTALL_SAMPLES}) + FILE(GLOB sample_files + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.med + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.bilan + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.odt + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.pdf + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.png + ${PROJECT_SOURCE_DIR}/src/tests/samples/*.xao) + INSTALL(FILES ${sample_files} DESTINATION ${SALOME_HOMARD_INSTALL_SAMPLES}) +ENDIF(MED_INT_IS_LONG)