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)
# 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})
# 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})
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