INCLUDE(tests.set)
+IF(SALOME_BUILD_GUI)
+ SET(TEST_SCRIPTS ${TEST_NAMES})
+ELSE()
+ SET(TEST_SCRIPTS ${TUI_NAMES})
+ENDIF()
+
SET(COMPONENT_NAME GMSHPLUGIN)
SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
SET(TIMEOUT 300)
# make test
SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${TEST_SCRIPTS})
SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
ADD_TEST(NAME ${TEST_NAME}
COMMAND ${PYTHON_EXECUTABLE} -B ${SALOME_TEST_DRIVER} ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
DESTINATION ${TEST_INSTALL_DIRECTORY}
RENAME CTestTestfile.cmake)
-INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
\ No newline at end of file
+INSTALL(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(TEST_NAMES
+SET(TUI_NAMES
basicGroup
- gmsh_compound_mesh_2d
- gmsh_compound_mesh_3d
gmsh_tetra_algorithms_for_box
gmsh_triangulation_algorithms_for_square
)
+SET(GUI_NAMES
+ gmsh_compound_mesh_2d
+ gmsh_compound_mesh_3d
+)
+
+SET(TEST_NAMES ${TUI_NAMES} ${GUI_NAMES})