1 # Copyright (C) 2015-2024 CEA, EDF
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 set(MPIEXEC @MPIEXEC@)
21 set(_oversub_opt @_oversub_opt@)
23 SET(TEST_PREFIX ParaMEDMEMTest)
27 set(tfile TestParaMEDMEM_Proc2)
28 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
29 add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} TestParaMEDMEM)
30 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
32 set(tfile TestParaMEDMEM_Proc3)
33 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
34 add_test(${TEST_NAME} ${MPIEXEC} -np 3 ${_oversub_opt} TestParaMEDMEM)
35 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
37 set(tfile TestParaMEDMEM_Proc4)
38 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
39 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} TestParaMEDMEM)
40 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
42 set(tfile TestParaMEDMEM_Proc5)
43 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
44 add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} TestParaMEDMEM)
45 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
49 set(tfile TestMPIAccess_Proc2)
50 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
51 add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} TestMPIAccess)
52 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
54 set(tfile TestMPIAccess_Proc3)
55 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
56 add_test(${TEST_NAME} ${MPIEXEC} -np 3 ${_oversub_opt} TestMPIAccess)
57 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
61 set(tfile TestMPIAccessDEC_Proc4)
62 set(TEST_NAME ${COMPONENT_NAME}_${TEST_PREFIX}_${tfile})
63 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} TestMPIAccessDEC)
64 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})