Salome HOME
activate paramedmem test with "salome test" mechanism
[tools/medcoupling.git] / src / ParaMEDMEMTest / CTestTestfileInstall.cmake.in
1 # Copyright (C) 2015-2020  CEA/DEN, EDF R&D
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 # TestParaMEDMEM
26
27 set(tfile TestParaMEDMEM_Proc2)
28 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
29 add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} TestParaMEDMEM)
30
31 set(tfile TestParaMEDMEM_Proc3)
32 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
33 add_test(${TEST_NAME} ${MPIEXEC} -np 3 ${_oversub_opt} TestParaMEDMEM)
34
35 set(tfile TestParaMEDMEM_Proc4)
36 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
37 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} TestParaMEDMEM)
38
39 set(tfile TestParaMEDMEM_Proc5)
40 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
41 add_test(${TEST_NAME} ${MPIEXEC} -np 5 ${_oversub_opt} TestParaMEDMEM)
42
43 # TestMPIAccess
44
45 set(tfile TestMPIAccess_Proc2)
46 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
47 add_test(${TEST_NAME} ${MPIEXEC} -np 2 ${_oversub_opt} TestMPIAccess)
48
49 set(tfile TestMPIAccess_Proc3)
50 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
51 add_test(${TEST_NAME} ${MPIEXEC} -np 3 ${_oversub_opt} TestMPIAccess)
52
53 # TestMPIAccessDEC
54
55 set(tfile TestMPIAccessDEC_Proc4)
56 set(TEST_NAME ${COMPONENT_NAME}_${TEST_NAMES}_${tfile})
57 add_test(${TEST_NAME} ${MPIEXEC} -np 4 ${_oversub_opt} TestMPIAccessDEC)
58