Salome HOME
Update ParaVis non-regression test base in the following ways:
[modules/paravis.git] / test / VisuPrs / CMakeLists.txt
1 # Copyright (C) 2010-2015  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 # For make test
21
22 SET(TIMEOUT 1000)
23 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
24
25 IF(NOT WIN32)
26   # Special case for the PV_PLUGIN_PATH environment variable:
27   # PV_PLUGIN_PATH=VAL_1;VAL_2;...;VAL_N
28   # But the ';' character is used as separator between variables (PATH, LD_LIBRARY_PATH, etc...)
29   # So we should shield a sequence ";/" by the '\' character.
30   STRING(REGEX REPLACE ";/" "\\\\;/" tests_env "${tests_env}")
31 ENDIF(NOT WIN32)
32
33 SET(SALOME_TEST_DRIVER "${KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
34
35 # Common part
36
37 SET(TEST_DIRECTORIES
38   Util
39   2D_viewer
40   3D_viewer
41   ScalarMap
42   DeformedShape
43   ScalarMap_On_DeformedShape
44   CutPlanes
45   CutLines
46   Vectors
47   Plot3D
48   IsoSurfaces
49   MeshPresentation
50   Animation
51   GaussPoints
52   StreamLines
53   SWIG_scripts
54 # Tables          table reader is not used anymore and CSVReader 
55 #                 doesn't suport txt and xls formats, so switch off Tables tests
56   ImportMedField
57   united
58   bugs
59   imps
60   dump_study
61 )
62
63 FOREACH(test_dir ${TEST_DIRECTORIES})
64   ADD_SUBDIRECTORY(${test_dir})
65 ENDFOREACH()
66
67 # Application tests
68 INSTALL(FILES CTestTestfileInstall.cmake
69   DESTINATION ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test/VisuPrs
70   RENAME CTestTestfile.cmake)