From: crouzet Date: Wed, 25 Apr 2018 15:23:20 +0000 (+0200) Subject: add ressources to make salome test work X-Git-Tag: V8_5_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=880cb52e24fde8511859067ef0ee5ba010cd9f3c;p=tools%2FSALOME.git add ressources to make salome test work --- diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index e2987b4..fff9553 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -33,6 +33,10 @@ SET(_ts_RESOURCES LightApp_msg_fr.ts LightApp_msg_ja.ts ) +SET(SALOME_GLOBAL_TEST_RESOURCES + CTestCustom.cmake + CTestTestfile.cmake +) # --- rules --- INSTALL(FILES ${SALOME_RESOURCES_FILES} DESTINATION ${SALOME_INSTALL_RES_DATA}) @@ -40,3 +44,6 @@ QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_INSTALL_RES_DATA}") # --- config --- SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_INSTALL_RES_DATA}) + +# --- install ctest resources --- +SALOME_INSTALL_SCRIPTS("${SALOME_GLOBAL_TEST_RESOURCES}" ${SALOME_INSTALL_SCRIPT_PYTHON}/test) diff --git a/resources/CTestCustom.cmake b/resources/CTestCustom.cmake new file mode 100644 index 0000000..d9a0701 --- /dev/null +++ b/resources/CTestCustom.cmake @@ -0,0 +1,2 @@ +SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1048576) # 1MB +SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1048576) # 1MB diff --git a/resources/CTestTestfile.cmake b/resources/CTestTestfile.cmake new file mode 100644 index 0000000..a544908 --- /dev/null +++ b/resources/CTestTestfile.cmake @@ -0,0 +1,9 @@ +SUBDIRS(../../../../KERNEL/bin/salome/test/) +SUBDIRS(../../../../GEOM/bin/salome/test/) +SUBDIRS(../../../../SMESH/bin/salome/test/) +SUBDIRS(../../../../BLSURFPLUGIN/bin/salome/test/) +SUBDIRS(../../../../HYBRIDPLUGIN/bin/salome/test/) +SUBDIRS(../../../../HOMARD/bin/salome/test/) +SUBDIRS(../../../../MED/bin/salome/test/) +SUBDIRS(../../../../PARAVIS/bin/salome/test/) +SUBDIRS(../../../../YACS/bin/salome/test/)