INCLUDE(tests.set)
SET(COMPONENT_NAME BLSURFPLUGIN)
+SET(MULTITHREAD_COMPONENT_NAME MULTITHREAD)
SET(TEST_INSTALL_DIRECTORY ${SALOME_BLSURFPLUGIN_INSTALL_TESTS})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
ENDFOREACH()
+FOREACH(tfile ${MULTITHREAD_TEST_NAMES})
+ SET(MULTITHREAD_TEST_NAME ${MULTITHREAD_COMPONENT_NAME}_${tfile})
+ ADD_TEST(NAME ${MULTITHREAD_TEST_NAME}
+ COMMAND ${PYTHON_EXECUTABLE} -B ${CMAKE_SOURCE_DIR}/doc/salome/examples/testme.py ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
+ SET_TESTS_PROPERTIES(${MULTITHREAD_TEST_NAME} PROPERTIES ENVIRONMENT "${tests_env}")
+ SET_TESTS_PROPERTIES(${MULTITHREAD_TEST_NAME} PROPERTIES LABELS MULTITHREAD)
+ENDFOREACH()
+
# salome test
-FOREACH(tfile ${TEST_NAMES})
+FOREACH(tfile ${TEST_NAMES} ${MULTITHREAD_TEST_NAMES})
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
DESTINATION ${TEST_INSTALL_DIRECTORY})
ENDFOREACH()
INCLUDE(tests.set)
SET(COMPONENT_NAME BLSURFPLUGIN)
+SET(MULTITHREAD_COMPONENT_NAME MULTITHREAD)
SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/python_test_driver.py")
SET(TIMEOUT 300)
ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
ENDFOREACH()
+
+FOREACH(tfile ${MULTITHREAD_TEST_NAMES})
+ SET(MULTITHREAD_TEST_NAME ${MULTITHREAD_COMPONENT_NAME}_${tfile})
+ ADD_TEST(${MULTITHREAD_TEST_NAME} python ${PYTHON_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
+ SET_TESTS_PROPERTIES(${MULTITHREAD_TEST_NAME} PROPERTIES LABELS MULTITHREAD)
+ENDFOREACH()
\ No newline at end of file
attractor_point_outside_face
enforced_internal_vertex
enforced_vertex
- multithread
periodicity_2D_prepro
#periodicity_prepro # already tested in examples
periodicity_reflexion_2D_prepro
remove_tiny_edges
sphere
)
+
+SET(MULTITHREAD_TEST_NAMES
+ multithread
+)
\ No newline at end of file