mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-11 16:19:16 +05:00
bos #28736 Prevent running HOMARD-related tests in case if MEDFile is built with 32-bits IDs option
This commit is contained in:
parent
76fc1cf433
commit
385b688f73
@ -20,7 +20,10 @@
|
||||
INCLUDE(tests.set)
|
||||
|
||||
SET(TEST_REINIT_SALOME "False")
|
||||
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
|
||||
|
||||
SALOME_CONFIGURE_FILE(tests.py.in tests.py)
|
||||
SALOME_CONFIGURE_FILE(CTestTestfileInstall.cmake ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CTestTestfile.cmake INSTALL ${TEST_INSTALL_DIRECTORY})
|
||||
|
||||
SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
|
||||
|
||||
@ -40,12 +43,7 @@ SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/SMESH)
|
||||
|
||||
# Application tests
|
||||
|
||||
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
|
||||
INSTALL(FILES ${GOOD_TESTS} ${BAD_TESTS} ${SESSION_FREE_TESTS} DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||
INSTALL(FILES Mesh_tri.med test_homard_adapt.med tutorial_4.00.med tutorial_4.xao tutorial_5.00.med tutorial_5.fr.med DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||
|
||||
INSTALL(FILES CTestTestfileInstall.cmake
|
||||
DESTINATION ${TEST_INSTALL_DIRECTORY}
|
||||
RENAME CTestTestfile.cmake)
|
||||
INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||
INSTALL(DIRECTORY MGAdapt_med_files DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||
|
@ -17,12 +17,13 @@
|
||||
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||
#
|
||||
|
||||
INCLUDE(tests.set)
|
||||
|
||||
SET(MED_INT_IS_LONG @MED_INT_IS_LONG@)
|
||||
SET(PYTHON_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/python_test_driver.py")
|
||||
SET(COMPONENT_NAME SMESH)
|
||||
SET(TIMEOUT 300)
|
||||
|
||||
INCLUDE(tests.set)
|
||||
|
||||
FOREACH(tfile ${GOOD_TESTS} ${BAD_TESTS})
|
||||
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
|
||||
SET(TEST_NAME SMESH_${BASE_NAME})
|
||||
|
@ -56,10 +56,14 @@ SET(BAD_TESTS
|
||||
IF(NOT WIN32)
|
||||
LIST(APPEND BAD_TESTS
|
||||
MGAdaptTests_without_session.py
|
||||
test_homard_adapt.py
|
||||
test_uniform_refinement.py
|
||||
test_smeshplugin_mg_tetra_parallele.py
|
||||
)
|
||||
IF(MED_INT_IS_LONG)
|
||||
LIST(APPEND BAD_TESTS
|
||||
test_homard_adapt.py
|
||||
test_uniform_refinement.py
|
||||
)
|
||||
ENDIF(MED_INT_IS_LONG)
|
||||
ENDIF(NOT WIN32)
|
||||
|
||||
SET(GOOD_TESTS
|
||||
|
Loading…
Reference in New Issue
Block a user