Salome HOME
[bos #38048] [EDF] (2023-T3) PARAMEDMEM Ergonomy.
[tools/medcoupling.git] / src / ParaMEDMEM_Swig / CTestTestfileInstall.cmake.in
1 # Copyright (C) 2015-2024  CEA, EDF
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 set(MPIEXEC @MPIEXEC@)
21 set(_oversub_opt @_oversub_opt@)
22
23 SET(TEST_NAMES ParaMEDMEMTest)
24
25 # force mpiexec to use PATH env var to detect right python into mpiexec command line
26 set(PATH_FOR_PYTHON $ENV{PATH})
27
28 set(tfile PyPara_Basics_Proc2)
29 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
30 add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_BasicOperation.py)
31 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
32
33 set(tfile PyPara_InterpKernelDEC_Proc4)
34 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
35 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
36 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
37
38 set(tfile PyPara_InterpKernelDEC_Proc5)
39 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
40 add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC.py)
41 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
42
43 set(tfile PyPara_InterpKernelDEC_easy_Proc5)
44 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
45 add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_InterpKernelDEC_easy.py)
46 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
47
48 set(tfile PyPara_StructuredCoincidentDEC_Proc4)
49 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
50 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_StructuredCoincidentDEC.py)
51 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})
52
53 set(tfile PyPara_OverlapDEC_Proc4)
54 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
55 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} -path "${PATH_FOR_PYTHON}" python3 test_OverlapDEC.py)
56 set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}" TIMEOUT ${TIMEOUT})