Salome HOME
08f61954b61184db198f25a649bcbee5a12ccee7
[modules/hydrosolver.git] / doc / salome / examples / CTestTestfileInstall.cmake
1 # This library is free software; you can redistribute it and/or
2 # modify it under the terms of the GNU Lesser General Public
3 # License as published by the Free Software Foundation; either
4 # version 2.1 of the License, or (at your option) any later version.
5 #
6 # This library is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9 # Lesser General Public License for more details.
10 #
11 # You should have received a copy of the GNU Lesser General Public
12 # License along with this library; if not, write to the Free Software
13 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
14 #
15 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
16 #
17
18 SET(SALOME_TEST_DRIVER "$ENV{ABSOLUTE_APPLI_PATH}/bin/salome/appliskel/salome_test_driver.py")
19 SET(COMPONENT_NAME HYDROSOLVER)
20 SET(TIMEOUT        300)
21
22 SET(EXAMPLES_TESTS
23   hs_001_telemac_cata.py
24 )
25
26 FOREACH(tfile ${EXAMPLES_TESTS})
27   SET(TEST_NAME HYDROSOLVER_${tfile})
28   ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
29   SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
30 ENDFOREACH()